Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Merge pull request #11 from ckeditor/t/10
Browse files Browse the repository at this point in the history
Other: Image styles should be configured to left-aligned, right-aligned image and full-size image (instead of the typical side-image and full-size image). Closes #10.
  • Loading branch information
Reinmar committed Apr 18, 2018
2 parents 7fb7d73 + b060545 commit 75855d9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
7 changes: 6 additions & 1 deletion build-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
8 changes: 7 additions & 1 deletion src/ckeditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,15 @@ DecoupledEditor.build = {
]
},
image: {
styles: [
'full',
'alignLeft',
'alignRight'
],
toolbar: [
'imageStyle:alignLeft',
'imageStyle:full',
'imageStyle:side',
'imageStyle:alignRight',
'|',
'imageTextAlternative'
]
Expand Down

0 comments on commit 75855d9

Please sign in to comment.