Fixed issues in the README file.

parent 6ca0e513
......@@ -33,7 +33,7 @@ And use it in your website:
</div>
<script src="./node_modules/@ckeditor/ckeditor5-build-decoupled-document/build/ckeditor.js"></script>
<script>
ClassicEditor
DecoupledDocumentEditor
.create( '<h2>Hello world!</h2>', {
toolbarContainer: '.toolbar-container',
editableContainer: '.editable-container'
......@@ -50,12 +50,12 @@ And use it in your website:
Or in your JavaScript application:
```js
import ClassicEditor from '@ckeditor/ckeditor5-build-decoupled-document';
import DecoupledDocumentEditor from '@ckeditor/ckeditor5-build-decoupled-document';
// 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>', {
toolbarContainer: '.toolbar-container',
editableContainer: '.editable-container'
......
......@@ -46,7 +46,7 @@ iterations of the project. Stay tuned for some updates soon!</p>`;
DecoupledDocumentEditor
.create( editorData, {
toolbarContainer: '.toolbar-container',
editableContainer: '.editable-container',
editableContainer: '.editable-container'
} )
.then( 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