Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Fixed API docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
ma2ciek committed Jun 13, 2018
1 parent d92e4b2 commit e4b6704
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/model/writer.js
Original file line number Diff line number Diff line change
Expand Up @@ -794,9 +794,10 @@ export default class Writer {
* {@link module:engine/model/markercollection~Marker marker class description} to learn about the difference between
* markers managed by operations and not-managed by operations.
*
* The `options.affectData` parameter, which defaults to `true`, allows you to create marker, that does not affects the data model.
* It impacts the performance, because changes in markers with set `options.affectData:false` do not cause firing the
* {@link module:engine/model/document~Document#event:change:data `change:data`} event.
* The `options.affectData` parameter, which defaults to `false`, allows you to create a marker, that affects the data.
* When set to true it fires the {@link module:engine/model/document~Document#event:change:data `change:data`} event.
* When set to false it fires the {@link module:engine/model/document~Document#event:change `change`} event. the `affectsData` property
* should be true when the marker change changes the data returned by {@link module:core/editor/editor~Editor#getData} method.
*
* Create marker directly base on marker's name:
*
Expand Down

0 comments on commit e4b6704

Please sign in to comment.