8
0
Эх сурвалжийг харах

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

Piotrek Koszuliński 6 жил өмнө
parent
commit
c23fd7807a

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

@@ -52,6 +52,13 @@
  * @member {String} module:core/editor/editorconfig~EditorConfig#initialData
  */
 
+/**
+ * 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.
  *