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

Merge branch t/engine/1186

Internal: Update API usage after merge t/1186 on engine.
Piotr Jasiun 8 лет назад
Родитель
Сommit
7af48f356b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/ckeditor5-markdown-gfm/docs/_snippets/features/markdown.js

+ 1 - 1
packages/ckeditor5-markdown-gfm/docs/_snippets/features/markdown.js

@@ -28,7 +28,7 @@ ClassicEditor
 
 
 		const outputElement = document.querySelector( '#snippet-markdown-output' );
 		const outputElement = document.querySelector( '#snippet-markdown-output' );
 
 
-		editor.document.on( 'changesDone', () => {
+		editor.model.document.on( 'changesDone', () => {
 			outputElement.innerText = editor.getData();
 			outputElement.innerText = editor.getData();
 		} );
 		} );