Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricewijnia committed Aug 19, 2019
1 parent 10aac26 commit 20e7449
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,12 +165,12 @@ This adds multiple attributes to your model that will help you with creating/upd
$content // This is the raw content from the Gutenberg editor
$model = new MyModel;

// The model has to exist or else the link between your model and the content can't be made
$model->save();

// Add or update the content
$model->lb_content = $content;

// Save the model
$model->save();

// Get the rendered HTML
$model->lb_content;

Expand Down

0 comments on commit 20e7449

Please sign in to comment.