Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CKEditor 5 Custom Build
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Daniel Kaufmann
CKEditor 5 Custom Build
Commits
51a68727
Unverified
Commit
51a68727
authored
Mar 12, 2018
by
Aleksander Nowodzinski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed issues in the README file.
parent
6ca0e513
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
README.md
README.md
+4
-4
ckeditor-cjs-version.js
tests/manual/ckeditor-cjs-version.js
+1
-1
No files found.
README.md
View file @
51a68727
...
@@ -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>
Classic
Editor
DecoupledDocument
Editor
.
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
Classic
Editor
from
'@ckeditor/ckeditor5-build-decoupled-document'
;
import
DecoupledDocument
Editor
from
'@ckeditor/ckeditor5-build-decoupled-document'
;
// Or using CommonJS verion:
// Or using CommonJS verion:
// const
Classic
Editor = require( '@ckeditor/ckeditor5-build-decoupled-document' );
// const
DecoupledDocument
Editor = require( '@ckeditor/ckeditor5-build-decoupled-document' );
Classic
Editor
DecoupledDocument
Editor
.
create
(
'<h2>Hello world!</h2>'
,
{
.
create
(
'<h2>Hello world!</h2>'
,
{
toolbarContainer
:
'.toolbar-container'
,
toolbarContainer
:
'.toolbar-container'
,
editableContainer
:
'.editable-container'
editableContainer
:
'.editable-container'
...
...
tests/manual/ckeditor-cjs-version.js
View file @
51a68727
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment