Skip to content

Commit

Permalink
Fix docs. (#15929)
Browse files Browse the repository at this point in the history
Internal: Resolve conflict between master and stable.
  • Loading branch information
filipsobol authored Feb 26, 2024
1 parent cd0237f commit a793711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorials/crash-course/model-and-schema.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Later you will also learn about the **editing UI**, but for now, all you need to

### Model

The first and most important part of the editing engine is the model. The model is an HTML-like structure that represents the content of the editor. When the {@link module:core/editor/editor~Editor#setData `editor.setData()`} method is called, HTML passed as the argument is converted into the model. Then, when the {@link module:core/editor/editor~Editor#getData `model.getData()`} method is called, the model is converted back to HTML.
The first and most important part of the editing engine is the model. The model is an HTML-like structure that represents the content of the editor. When the {@link module:core/editor/editor~Editor#setData `editor.setData()`} method is called, HTML passed as the argument is converted into the model. Then, when the {@link module:core/editor/editor~Editor#getData `editor.getData()`} method is called, the model is converted back to HTML.

One major difference between the model and HTML is that in the model, both text and elements can have attributes.

Expand Down

0 comments on commit a793711

Please sign in to comment.