Skip to content

Commit 20e7449

Browse files
committed
Update README
1 parent 10aac26 commit 20e7449

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,12 +165,12 @@ This adds multiple attributes to your model that will help you with creating/upd
165165
$content // This is the raw content from the Gutenberg editor
166166
$model = new MyModel;
167167

168-
// The model has to exist or else the link between your model and the content can't be made
169-
$model->save();
170-
171168
// Add or update the content
172169
$model->lb_content = $content;
173170

171+
// Save the model
172+
$model->save();
173+
174174
// Get the rendered HTML
175175
$model->lb_content;
176176

0 commit comments

Comments
 (0)