Jelajahi Sumber

Docs: Fix event name in marker class description.

Maciej Gołaszewski 6 tahun lalu
induk
melakukan
a45458df8f
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      packages/ckeditor5-engine/src/model/markercollection.js

+ 1 - 1
packages/ckeditor5-engine/src/model/markercollection.js

@@ -289,7 +289,7 @@ mix( MarkerCollection, EmitterMixin );
  * using common prefixes, separated with `:`, for example: `user:john` or `search:3`. That's useful in term of creating
  * namespaces for custom elements (e.g. comments, highlights). You can use this prefixes in
  * {@link module:engine/model/markercollection~MarkerCollection#event:update} listeners to listen on changes in a group of markers.
- * For instance: `model.markers.on( 'set:user', callback );` will be called whenever any `user:*` markers changes.
+ * For instance: `model.markers.on( 'update:user', callback );` will be called whenever any `user:*` markers changes.
  *
  * There are two types of markers.
  *