Преглед на файлове

Merge branch 'documentation-fix' of git://github.com/ysct/ckeditor5-editor-decoupled into t/38

Aleksander Nowodzinski преди 6 години
родител
ревизия
b7b1627ed9
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      packages/ckeditor5-editor-decoupled/src/decouplededitor.js

+ 1 - 1
packages/ckeditor5-editor-decoupled/src/decouplededitor.js

@@ -152,7 +152,7 @@ export default class DecoupledEditor extends Editor {
 	 *				document.body.appendChild( editor.ui.view.toolbar.element );
 	 *
 	 *				// Initial data was provided so the editor UI element needs to be added manually to the DOM.
-	 *				document.body.appendChild( editor.ui.element );
+	 *				document.body.appendChild( editor.ui.view.editable.element );
 	 *			} )
 	 *			.catch( err => {
 	 *				console.error( err.stack );