浏览代码

Docs: Aligned Bootstrap UI example to the View#render API.

Aleksander Nowodzinski 8 年之前
父节点
当前提交
6532a4bad3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/ckeditor5-ui/docs/_snippets/examples/bootstrap-ui-inner.js

+ 1 - 1
packages/ckeditor5-ui/docs/_snippets/examples/bootstrap-ui-inner.js

@@ -60,7 +60,7 @@ export default class BootstrapEditor extends StandardEditor {
 			resolve(
 				editor.initPlugins()
 					// Initialize the editable view in DOM first.
-					.then( () => editable.init() )
+					.then( () => editable.render() )
 					// Replace the editor#element with editor.editable#element.
 					.then( () => editor._elementReplacer.replace( element, editable.element ) )
 					// Handle the UI of the editor.