Преглед изворни кода

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.