Selaa lähdekoodia

Internal: Comment.

Piotrek Koszuliński 6 vuotta sitten
vanhempi
commit
0330e76afb
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      packages/ckeditor5-editor-balloon/src/ballooneditor.js

+ 2 - 1
packages/ckeditor5-editor-balloon/src/ballooneditor.js

@@ -205,9 +205,10 @@ export default class BalloonEditor extends Editor {
 					} )
 					.then( () => {
 						if ( !isElement( sourceElementOrData ) && config.initialData ) {
+							// Documented in core/editor/editorconfig.jdoc.
 							throw new CKEditorError(
 								'editor-create-initial-data: ' +
-								'EditorConfig#initialData cannot be used together with initial data passed in Editor#create()'
+								'The config.initialData option cannot be used together with initial data passed in Editor.create().'
 							);
 						}