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
b060545d
Unverified
Commit
b060545d
authored
Apr 15, 2018
by
Kamil Piechaczek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed editor config - image can be configured to left, right or full.
parent
09aea865
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
build-config.js
build-config.js
+6
-1
ckeditor.js
src/ckeditor.js
+7
-1
No files found.
build-config.js
View file @
b060545d
...
...
@@ -69,7 +69,12 @@ module.exports = {
},
image
:
{
toolbar
:
[
'imageStyle:full'
,
'imageStyle:side'
,
'|'
,
'imageTextAlternative'
]
styles
:
[
'full'
,
'alignLeft'
,
'alignRight'
],
toolbar
:
[
'imageStyle:alignLeft'
,
'imageStyle:full'
,
'imageStyle:alignRight'
,
'|'
,
'imageTextAlternative'
]
},
// UI language. Language codes follow the https://en.wikipedia.org/wiki/ISO_639-1 format.
...
...
src/ckeditor.js
View file @
b060545d
...
...
@@ -82,9 +82,15 @@ DecoupledEditor.build = {
]
},
image
:
{
styles
:
[
'full'
,
'alignLeft'
,
'alignRight'
],
toolbar
:
[
'imageStyle:alignLeft'
,
'imageStyle:full'
,
'imageStyle:
side
'
,
'imageStyle:
alignRight
'
,
'|'
,
'imageTextAlternative'
]
...
...
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