Răsfoiți Sursa

Docs: suggestions from code review.

Szymon Cofalik 6 ani în urmă
părinte
comite
a1867d1ddb
1 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 2 2
      packages/ckeditor5-core/src/editor/editorconfig.jsdoc

+ 2 - 2
packages/ckeditor5-core/src/editor/editorconfig.jsdoc

@@ -13,7 +13,7 @@
  * An object defining the editor configuration can be passed when initializing the editor:
  * An object defining the editor configuration can be passed when initializing the editor:
  *
  *
  *		EditorClass
  *		EditorClass
- *			.create( document.querySelector( '#editor' ), {
+ *			.create( {
  * 				toolbar: [ 'bold', 'italic' ],
  * 				toolbar: [ 'bold', 'italic' ],
  *				image: {
  *				image: {
  *					styles: [
  *					styles: [
@@ -33,7 +33,7 @@
 /**
 /**
  * The initial editor data to be used instead of the provided element's HTML content.
  * The initial editor data to be used instead of the provided element's HTML content.
  *
  *
- *      EditorClass
+ *      ClassicEditor
  *          .create( document.querySelector( '#editor' ), {
  *          .create( document.querySelector( '#editor' ), {
  *              initialData: '<h2>Initial data</h2><p>Foo bar.</p>'
  *              initialData: '<h2>Initial data</h2><p>Foo bar.</p>'
  *          } )
  *          } )