Explorar el Código

Docs: Fixed code samples. [skip ci]

Piotrek Koszuliński hace 8 años
padre
commit
4d9ec251ef
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/ckeditor5-heading/docs/features/headings.md

+ 1 - 1
packages/ckeditor5-heading/docs/features/headings.md

@@ -69,7 +69,7 @@ And add it to your plugin list and toolbar configuration:
 import Heading from '@ckeditor/ckeditor5-heading/src/heading';
 
 ClassicEditor
-	.create( {
+	.create( document.querySelector( '#editor' ), {
 		plugins: [ Heading, ... ],
 		toolbar: [ 'headings', ... ]
 	} )