|
@@ -47,10 +47,10 @@ And use it in your website:
|
|
|
Or in your JavaScript application:
|
|
Or in your JavaScript application:
|
|
|
|
|
|
|
|
```js
|
|
```js
|
|
|
-import { InlineEditor } from '@ckeditor/ckeditor5-build-inline/build/ckeditor';
|
|
|
|
|
|
|
+import InlineEditor from '@ckeditor/ckeditor5-build-inline/build/ckeditor';
|
|
|
|
|
|
|
|
// Or using CommonJS verion:
|
|
// Or using CommonJS verion:
|
|
|
-// const InlineEditor = require( '@ckeditor/ckeditor5-build-inline/build/ckeditor' ).InlineEditor;
|
|
|
|
|
|
|
+// const InlineEditor = require( '@ckeditor/ckeditor5-build-inline/build/ckeditor' );
|
|
|
|
|
|
|
|
InlineEditor
|
|
InlineEditor
|
|
|
.create( document.querySelector( '#editor' ) )
|
|
.create( document.querySelector( '#editor' ) )
|