|
@@ -794,9 +794,10 @@ export default class Writer {
|
|
|
* {@link module:engine/model/markercollection~Marker marker class description} to learn about the difference between
|
|
* {@link module:engine/model/markercollection~Marker marker class description} to learn about the difference between
|
|
|
* markers managed by operations and not-managed by operations.
|
|
* 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:
|
|
* Create marker directly base on marker's name:
|
|
|
*
|
|
*
|