Fixed issues in the README file.

parent 6ca0e513
...@@ -33,7 +33,7 @@ And use it in your website: ...@@ -33,7 +33,7 @@ And use it in your website:
</div> </div>
<script src="./node_modules/@ckeditor/ckeditor5-build-decoupled-document/build/ckeditor.js"></script> <script src="./node_modules/@ckeditor/ckeditor5-build-decoupled-document/build/ckeditor.js"></script>
<script> <script>
ClassicEditor DecoupledDocumentEditor
.create( '<h2>Hello world!</h2>', { .create( '<h2>Hello world!</h2>', {
toolbarContainer: '.toolbar-container', toolbarContainer: '.toolbar-container',
editableContainer: '.editable-container' editableContainer: '.editable-container'
...@@ -50,12 +50,12 @@ And use it in your website: ...@@ -50,12 +50,12 @@ And use it in your website:
Or in your JavaScript application: Or in your JavaScript application:
```js ```js
import ClassicEditor from '@ckeditor/ckeditor5-build-decoupled-document'; import DecoupledDocumentEditor from '@ckeditor/ckeditor5-build-decoupled-document';
// Or using CommonJS verion: // Or using CommonJS verion:
// const ClassicEditor = require( '@ckeditor/ckeditor5-build-decoupled-document' ); // const DecoupledDocumentEditor = require( '@ckeditor/ckeditor5-build-decoupled-document' );
ClassicEditor DecoupledDocumentEditor
.create( '<h2>Hello world!</h2>', { .create( '<h2>Hello world!</h2>', {
toolbarContainer: '.toolbar-container', toolbarContainer: '.toolbar-container',
editableContainer: '.editable-container' editableContainer: '.editable-container'
......
...@@ -46,7 +46,7 @@ iterations of the project. Stay tuned for some updates soon!</p>`; ...@@ -46,7 +46,7 @@ iterations of the project. Stay tuned for some updates soon!</p>`;
DecoupledDocumentEditor DecoupledDocumentEditor
.create( editorData, { .create( editorData, {
toolbarContainer: '.toolbar-container', toolbarContainer: '.toolbar-container',
editableContainer: '.editable-container', editableContainer: '.editable-container'
} ) } )
.then( editor => { .then( editor => {
window.editor = editor; window.editor = editor;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment