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

Commit

Permalink
Fix: It will be possible to configure toolbar offset without overridi…
Browse files Browse the repository at this point in the history
…ng preconfigured toolbar items. See ckeditor/ckeditor5#572.
  • Loading branch information
Reinmar committed Sep 30, 2017
1 parent e74806e commit c2485d6
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 22 deletions.
24 changes: 13 additions & 11 deletions build-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,19 @@ module.exports = {

// Editor config.
config: {
toolbar: [
'headings',
'bold',
'italic',
'link',
'bulletedList',
'numberedList',
'blockQuote',
'undo',
'redo'
],
toolbar: {
items: [
'headings',
'bold',
'italic',
'link',
'bulletedList',
'numberedList',
'blockQuote',
'undo',
'redo'
]
},

image: {
toolbar: [ 'imageStyleFull', 'imageStyleSide', '|', 'imageTextAlternative' ]
Expand Down
24 changes: 13 additions & 11 deletions src/ckeditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,17 +43,19 @@ BalloonEditor.build = {
ImageuploadPlugin
],
config: {
toolbar: [
'headings',
'bold',
'italic',
'link',
'bulletedList',
'numberedList',
'blockQuote',
'undo',
'redo'
],
toolbar: {
items: [
'headings',
'bold',
'italic',
'link',
'bulletedList',
'numberedList',
'blockQuote',
'undo',
'redo'
]
},
image: {
toolbar: [
'imageStyleFull',
Expand Down

0 comments on commit c2485d6

Please sign in to comment.