Unverified Commit 75855d90 authored by Piotrek Koszuliński's avatar Piotrek Koszuliński Committed by GitHub

Merge pull request #11 from ckeditor/t/10

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.
parents 7fb7d73f b060545d
...@@ -69,7 +69,12 @@ module.exports = { ...@@ -69,7 +69,12 @@ module.exports = {
}, },
image: { 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. // UI language. Language codes follow the https://en.wikipedia.org/wiki/ISO_639-1 format.
......
...@@ -82,9 +82,15 @@ DecoupledEditor.build = { ...@@ -82,9 +82,15 @@ DecoupledEditor.build = {
] ]
}, },
image: { image: {
styles: [
'full',
'alignLeft',
'alignRight'
],
toolbar: [ toolbar: [
'imageStyle:alignLeft',
'imageStyle:full', 'imageStyle:full',
'imageStyle:side', 'imageStyle:alignRight',
'|', '|',
'imageTextAlternative' 'imageTextAlternative'
] ]
......
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