浏览代码

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 );