Przeglądaj źródła

Docs: Documented the editor-create-initial-data. Closes ckeditor/ckeditor5#1665.

Piotrek Koszuliński 6 lat temu
rodzic
commit
c23fd7807a

+ 7 - 0
packages/ckeditor5-core/src/editor/editorconfig.jsdoc

@@ -53,6 +53,13 @@
  */
 
 /**
+ * The `config.initialData` option cannot be used together with initial data passed as the first parameter of
+ * {@link module:core/editor/editor~Editor.create `Editor.create()`}.
+ *
+ * @error editor-create-initial-data
+ */
+
+/**
  * The list of plugins to load.
  *
  * If you use an {@glink builds/guides/overview editor build} you can define the list of plugins to load