8
0
Просмотр исходного кода

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

Aleksander Nowodzinski 8 лет назад
Родитель
Сommit
6532a4bad3

+ 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.