Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Fix code sample indentation of the editorConfig.initialData.
Browse files Browse the repository at this point in the history
  • Loading branch information
jodator committed Jun 19, 2019
1 parent 700d3b5 commit 9c5f0f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/editor/editorconfig.jsdoc
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
/**
* The initial editor data to be used instead of the provided element's HTML content.
*
* ClassicEditor
* .create( document.querySelector( '#editor' ), {
* initialData: '<h2>Initial data</h2><p>Foo bar.</p>'
* } )
* ClassicEditor
* .create( document.querySelector( '#editor' ), {
* initialData: '<h2>Initial data</h2><p>Foo bar.</p>'
* } )
* .then( ... )
* .catch( ... );
*
Expand Down

0 comments on commit 9c5f0f6

Please sign in to comment.