8
0
Kamil Piechaczek 7 лет назад
Родитель
Сommit
368dd5a0be
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      packages/ckeditor5-core/src/editor/utils/elementapimixin.js

+ 3 - 1
packages/ckeditor5-core/src/editor/utils/elementapimixin.js

@@ -23,7 +23,9 @@ const ElementApiMixin = {
 	updateSourceElement() {
 		if ( !this.sourceElement ) {
 			/**
-			 * The `sourceElement` is required by the `ElementApi` interface.
+			 * In case of the editor is creating using an initial data instead of the DOM element,
+			 * the {@link ElementApi~updateSourceElement `updateSourceElement()`} method cannot be called because there is no
+			 * {@link ElementApi~sourceElement `sourceElement`} that could be updated.
 			 *
 			 * @error elementapimixin-missing-sourceelement
 			 */