Преглед на файлове

Tests: Updated property name.

Piotrek Koszuliński преди 6 години
родител
ревизия
41da408f24
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      packages/ckeditor5-word-count/docs/_snippets/features/word-count.js

+ 1 - 1
packages/ckeditor5-word-count/docs/_snippets/features/word-count.js

@@ -32,7 +32,7 @@ ClassicEditor
 	.then( editor => {
 		window.editor = editor;
 
-		document.getElementById( 'demo-word-counter' ).appendChild( editor.plugins.get( 'WordCount' ).getWordCountContainer() );
+		document.getElementById( 'demo-word-counter' ).appendChild( editor.plugins.get( 'WordCount' ).wordCountContainer );
 	} )
 	.catch( err => {
 		console.error( err.stack );