Explorar el Código

Docs: Fixed a typo.

Piotrek Koszuliński hace 6 años
padre
commit
d299efbc43
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      docs/builds/guides/faq.md

+ 1 - 1
docs/builds/guides/faq.md

@@ -152,7 +152,7 @@ If you do not have the reference to the editor instance but you have access to t
 const domEditableElement = document.querySelector( '.ck-editor__editable' );
 const editorInstance = domEditableElement.ckeditorInstance;
 
-editor.editing.view.change( writer => {
+editorInstance.editing.view.change( writer => {
 	// Map the editable element in DOM to the editable element in editor's view.
 	const viewEditableRoot = editorInstance.editing.view.domConverter.mapDomToView( domEditableElement );