8
0
Quellcode durchsuchen

Docs: Improved docs in the Bootstrap UI example.

Aleksander Nowodzinski vor 8 Jahren
Ursprung
Commit
aa0096ec5e

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

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

+ 2 - 2
packages/ckeditor5-ui/docs/framework/guides/external-ui.md

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