From 0b7f614fe21f1c472203e6cc35d9531bc8c8c39b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Go=C5=82aszewski?= Date: Mon, 5 Mar 2018 17:18:12 +0100 Subject: [PATCH 1/2] Other: Renamed 'headings' ui component to 'heading'. --- build-config.js | 2 +- src/ckeditor.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build-config.js b/build-config.js index 2a9b504..a4dce5d 100644 --- a/build-config.js +++ b/build-config.js @@ -37,7 +37,7 @@ module.exports = { config: { toolbar: { items: [ - 'headings', + 'heading', '|', 'bold', 'italic', diff --git a/src/ckeditor.js b/src/ckeditor.js index 91e652c..7027ee0 100644 --- a/src/ckeditor.js +++ b/src/ckeditor.js @@ -45,7 +45,7 @@ ClassicEditor.build = { config: { toolbar: { items: [ - 'headings', + 'heading', '|', 'bold', 'italic', From d09cf508e56df115d1da91b194613ea57291d0ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Go=C5=82aszewski?= Date: Wed, 7 Mar 2018 17:09:35 +0100 Subject: [PATCH 2/2] Other: Rename ImageStyle options, UI components and merge commands into one command. --- build-config.js | 2 +- src/ckeditor.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build-config.js b/build-config.js index a4dce5d..0bb645d 100644 --- a/build-config.js +++ b/build-config.js @@ -51,7 +51,7 @@ module.exports = { }, image: { - toolbar: [ 'imageStyleFull', 'imageStyleSide', '|', 'imageTextAlternative' ] + toolbar: [ 'imageStyle:full', 'imageStyle:side', '|', 'imageTextAlternative' ] }, // UI language. Language codes follow the https://en.wikipedia.org/wiki/ISO_639-1 format. diff --git a/src/ckeditor.js b/src/ckeditor.js index 7027ee0..d24f932 100644 --- a/src/ckeditor.js +++ b/src/ckeditor.js @@ -59,8 +59,8 @@ ClassicEditor.build = { }, image: { toolbar: [ - 'imageStyleFull', - 'imageStyleSide', + 'imageStyle:full', + 'imageStyle:side', '|', 'imageTextAlternative' ]