diff --git a/README.md b/README.md index d3c0a60fe2..ca3e28a318 100644 --- a/README.md +++ b/README.md @@ -106,6 +106,16 @@ A prompt will appear asking you which version you'd like to select. This will up **NOTE:** In order to prevent unintended commits to the submodule, using `ck.sh update` is the only supported way to change the commit the submodule is referencing. Git is configured to ignore changes to the submodule, so you will only see them in the output of commands like `git status`, `git show`, `git log -p` (etc) if you pass the `--ignore-submodules=none` switch. +#### Resolving problems while updating CKEditor's base version + +> `./ck.sh update` should only be used to check that everything is in order before applying changes, and we cannot expect it to be used to resolve conflicts. + +You may encounter some issues throughout the upgrade process. You can take the following actions to properly resolve these conflicts: + +1. Navigate to the `ckeditor-dev/` subdirectory and manually resolve conflicts by rebasing with the proper tag/version you want to upgrade. `git pull —rebase 4.18.0`, for example, can be used to rebase with 4.18.0. +2. Go to `liferay-ckeditor/` and run `./ck.sh update` after the submodule has been successfully updated. Choose the correct version of ckeditor you're trying to update, then check to see if everything under `ckeditor-dev` is fine and without conflicts. +3. If everything looks good and there are no conflicts, run `./ck.sh patch` to update the `patches/` folder, and don't forget to leave a good commit message. `chore: update patches for upgrading to CKEditor 4.18.0` is an example of a decent commit message for this type of change. + ### Testing in [liferay-portal](https://github.com/liferay/liferay-portal) To test your local CKEditor build in liferay-portal: diff --git a/ck.sh b/ck.sh index cba5c39e2d..4295a22407 100755 --- a/ck.sh +++ b/ck.sh @@ -91,7 +91,6 @@ case "$COMMAND" in echo downloadPlugin scayt "$VERSION" plugins/scayt - downloadPlugin wsc "$VERSION" plugins/wsc # Copy lang files from image plugin to imagespacingbox cp -r plugins/image/lang plugins/imagespacingbox diff --git a/ckeditor-dev b/ckeditor-dev index f6dd30807a..5fe059002f 160000 --- a/ckeditor-dev +++ b/ckeditor-dev @@ -1 +1 @@ -Subproject commit f6dd30807a1c7cb585f376a38fb13dffd2213a75 +Subproject commit 5fe059002f8c207df80b44ef999f3d1eec280694 diff --git a/patches/0001-LPS-89596-Cannot-Drag-Image-from-top-content-line-in.patch b/patches/0001-LPS-89596-Cannot-Drag-Image-from-top-content-line-in.patch index c54f376a15..4c8297c63b 100644 --- a/patches/0001-LPS-89596-Cannot-Drag-Image-from-top-content-line-in.patch +++ b/patches/0001-LPS-89596-Cannot-Drag-Image-from-top-content-line-in.patch @@ -1,4 +1,4 @@ -From c85038dd137fd93cc6fe23e2fde1ab8b5fe9f6bf Mon Sep 17 00:00:00 2001 +From e3d0dc6dea9b1a413f7c70ea5fd66e6c6d03e278 Mon Sep 17 00:00:00 2001 From: Julien Castelain Date: Tue, 14 May 2019 10:47:25 +0200 Subject: [PATCH] LPS-89596 Cannot Drag Image from top content line in IE11 @@ -10,7 +10,7 @@ Changed position of drag icon for IE. 1 file changed, 4 insertions(+) diff --git a/plugins/widget/plugin.js b/plugins/widget/plugin.js -index 5eb6d93512..65e0700bd0 100644 +index b01103ad9d..ce79e10f58 100644 --- a/plugins/widget/plugin.js +++ b/plugins/widget/plugin.js @@ -1607,6 +1607,10 @@ diff --git a/patches/0002-LPS-95472-Tabs-in-popups-not-appears-correctly-in-ma.patch b/patches/0002-LPS-95472-Tabs-in-popups-not-appears-correctly-in-ma.patch index 7141c9f374..f0623687d7 100644 --- a/patches/0002-LPS-95472-Tabs-in-popups-not-appears-correctly-in-ma.patch +++ b/patches/0002-LPS-95472-Tabs-in-popups-not-appears-correctly-in-ma.patch @@ -1,4 +1,4 @@ -From be6d62539e74d9af7c61bb5d920f724dbe466697 Mon Sep 17 00:00:00 2001 +From bc03b720b4431b11776cdf34d4a70922eb90a56a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roland=20P=C3=A1kai?= Date: Tue, 21 May 2019 09:38:15 +0200 Subject: [PATCH] LPS-95472 Tabs in popups not appears correctly in maximized @@ -11,7 +11,7 @@ plugin. 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dialog/plugin.js b/plugins/dialog/plugin.js -index 71bb960ac4..d3a420e6a2 100644 +index d088f6dfb0..a1fdc81ff1 100644 --- a/plugins/dialog/plugin.js +++ b/plugins/dialog/plugin.js @@ -1185,7 +1185,7 @@ CKEDITOR.DIALOG_STATE_BUSY = 2; diff --git a/patches/0003-LPS-85326-Remove-check-for-Webkit-browsers.patch b/patches/0003-LPS-85326-Remove-check-for-Webkit-browsers.patch index f76af38c87..aa0ed85691 100644 --- a/patches/0003-LPS-85326-Remove-check-for-Webkit-browsers.patch +++ b/patches/0003-LPS-85326-Remove-check-for-Webkit-browsers.patch @@ -1,4 +1,4 @@ -From 6c84d34bb174b7d95333441683fdb167fe3bbf05 Mon Sep 17 00:00:00 2001 +From 0f08683be8d31119ea25fb2a753f606379cddd6e Mon Sep 17 00:00:00 2001 From: Julien Castelain Date: Wed, 25 Mar 2020 12:58:15 +0100 Subject: [PATCH] LPS-85326 Remove check for Webkit browsers @@ -18,10 +18,10 @@ https://github.com/liferay/liferay-ckeditor/commit/328017c65063ac18119e244fec92d 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/selection.js b/core/selection.js -index 72a02ef9f0..4da7aff707 100644 +index 2137aae60f..62e1566d0d 100644 --- a/core/selection.js +++ b/core/selection.js -@@ -2278,7 +2278,7 @@ +@@ -2279,7 +2279,7 @@ var nativeRange = this.document.$.createRange(); diff --git a/patches/0004-LPP-36989-Remove-obsolete-summary-field-from-table-e.patch b/patches/0004-LPP-36989-Remove-obsolete-summary-field-from-table-e.patch index 12c13ce1b5..8e5ac739e3 100644 --- a/patches/0004-LPP-36989-Remove-obsolete-summary-field-from-table-e.patch +++ b/patches/0004-LPP-36989-Remove-obsolete-summary-field-from-table-e.patch @@ -1,4 +1,4 @@ -From 6e3decda24dacdf9779c7bafa4ba5ad3cf4dd13a Mon Sep 17 00:00:00 2001 +From 1cdc7c74572905d5bc34834db30c0498680a8876 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roland=20P=C3=A1kai?= Date: Tue, 14 Apr 2020 10:15:56 +0200 Subject: [PATCH] LPP-36989 Remove obsolete summary field from table elements @@ -15,7 +15,7 @@ Subject: [PATCH] LPP-36989 Remove obsolete summary field from table elements 8 files changed, 38 insertions(+), 56 deletions(-) diff --git a/plugins/table/dialogs/table.js b/plugins/table/dialogs/table.js -index 5c42bc5c07..b19c2515df 100755 +index 6fa1c0d49c..983b1706d6 100755 --- a/plugins/table/dialogs/table.js +++ b/plugins/table/dialogs/table.js @@ -523,22 +523,6 @@ @@ -42,7 +42,7 @@ index 5c42bc5c07..b19c2515df 100755 } ] }, diff --git a/plugins/table/plugin.js b/plugins/table/plugin.js -index ec3b769ba4..43ef13d931 100755 +index 0f6567f2fe..2717ae0649 100755 --- a/plugins/table/plugin.js +++ b/plugins/table/plugin.js @@ -18,7 +18,7 @@ CKEDITOR.plugins.add( 'table', { diff --git a/patches/0005-LPS-112982-Add-additional-resource-URL-parameters.patch b/patches/0005-LPS-112982-Add-additional-resource-URL-parameters.patch index b9154894ff..e6bb55361a 100644 --- a/patches/0005-LPS-112982-Add-additional-resource-URL-parameters.patch +++ b/patches/0005-LPS-112982-Add-additional-resource-URL-parameters.patch @@ -1,18 +1,18 @@ -From 3abfc87bf93ee2e6f4421f2d7fc1ec9e832217f6 Mon Sep 17 00:00:00 2001 +From 8b4da009a9cf77a7fdaa16e7e09b67f5640a52c3 Mon Sep 17 00:00:00 2001 From: Julien Castelain Date: Tue, 7 Jul 2020 09:47:27 +0200 Subject: [PATCH] LPS-112982 Add additional resource URL parameters --- - core/ckeditor_base.js | 25 ++++++++++++++++++------- + core/ckeditor_base.js | 23 ++++++++++++++++++----- core/config.js | 9 +++++++++ - 2 files changed, 27 insertions(+), 7 deletions(-) + 2 files changed, 27 insertions(+), 5 deletions(-) diff --git a/core/ckeditor_base.js b/core/ckeditor_base.js -index dcd1b6bfa3..8285e83c64 100644 +index dbec536bd0..68c2371c7f 100644 --- a/core/ckeditor_base.js +++ b/core/ckeditor_base.js -@@ -170,15 +170,26 @@ if ( !window.CKEDITOR ) { +@@ -175,13 +175,26 @@ if ( !window.CKEDITOR ) { * @returns {String} The full URL. */ getUrl: function( resource ) { @@ -23,9 +23,7 @@ index dcd1b6bfa3..8285e83c64 100644 + ? new URL(resource) + : new URL(this.basePath + resource); -- // Add the timestamp, except for directories. -- if ( this.timestamp && resource.charAt( resource.length - 1 ) != '/' && !( /[&?]t=/ ).test( resource ) ) -- resource += ( resource.indexOf( '?' ) >= 0 ? '&' : '?' ) + 't=' + this.timestamp; +- resource = this.appendTimestamp( resource ); + if (!resourceUrl.toString().endsWith('/')) { + if (this.timestamp && !resourceUrl.searchParams.has('t')) { + resourceUrl.searchParams.set('t', this.timestamp); @@ -47,7 +45,7 @@ index dcd1b6bfa3..8285e83c64 100644 /** diff --git a/core/config.js b/core/config.js -index 1ebc053555..4d7013209a 100644 +index 15f1b7c0de..2c4f2f74bc 100644 --- a/core/config.js +++ b/core/config.js @@ -8,6 +8,15 @@ diff --git a/patches/0006-LPS-118624-Don-t-pass-languageId-to-css-files-reques.patch b/patches/0006-LPS-118624-Don-t-pass-languageId-to-css-files-reques.patch index 49a7196338..94e26e6fe6 100644 --- a/patches/0006-LPS-118624-Don-t-pass-languageId-to-css-files-reques.patch +++ b/patches/0006-LPS-118624-Don-t-pass-languageId-to-css-files-reques.patch @@ -1,4 +1,4 @@ -From 31616ae4523018bdc88d48b33e44470ab68a954e Mon Sep 17 00:00:00 2001 +From 5b1a436e79956e1daaf572813457f619fed1ff9d Mon Sep 17 00:00:00 2001 From: Carlos Lancha Date: Thu, 6 Aug 2020 14:42:21 +0200 Subject: [PATCH] LPS-118624 Don't pass languageId to css files requests @@ -8,10 +8,10 @@ Subject: [PATCH] LPS-118624 Don't pass languageId to css files requests 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/ckeditor_base.js b/core/ckeditor_base.js -index 8285e83c64..ea4d38f8f2 100644 +index 68c2371c7f..e67c9fee0c 100644 --- a/core/ckeditor_base.js +++ b/core/ckeditor_base.js -@@ -183,7 +183,7 @@ if ( !window.CKEDITOR ) { +@@ -188,7 +188,7 @@ if ( !window.CKEDITOR ) { var key = entries[0]; var value = entries[1]; diff --git a/patches/0007-LPS-124728-Avoid-breaking-IE11.patch b/patches/0007-LPS-124728-Avoid-breaking-IE11.patch index 669fc5b831..0fb3923d8c 100644 --- a/patches/0007-LPS-124728-Avoid-breaking-IE11.patch +++ b/patches/0007-LPS-124728-Avoid-breaking-IE11.patch @@ -1,4 +1,4 @@ -From 87053f94f7133ec1fc267c8d4bc25c7a9d40d7cd Mon Sep 17 00:00:00 2001 +From d97257b9502be696c0c94c36365188af28a6ed6d Mon Sep 17 00:00:00 2001 From: Julien Castelain Date: Mon, 21 Dec 2020 09:12:53 +0100 Subject: [PATCH] LPS-124728 Avoid breaking IE11 @@ -11,10 +11,10 @@ they aren't loaded when getUrl is executed. 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/core/ckeditor_base.js b/core/ckeditor_base.js -index ea4d38f8f2..fd94a94166 100644 +index e67c9fee0c..d9bee755ae 100644 --- a/core/ckeditor_base.js +++ b/core/ckeditor_base.js -@@ -170,26 +170,32 @@ if ( !window.CKEDITOR ) { +@@ -175,26 +175,32 @@ if ( !window.CKEDITOR ) { * @returns {String} The full URL. */ getUrl: function( resource ) { diff --git a/patches/0008-LPS-125559-Fix-width-for-the-following-fields-Cell-s.patch b/patches/0008-LPS-125559-Fix-width-for-the-following-fields-Cell-s.patch index 16894c6484..f3dbef3b3a 100644 --- a/patches/0008-LPS-125559-Fix-width-for-the-following-fields-Cell-s.patch +++ b/patches/0008-LPS-125559-Fix-width-for-the-following-fields-Cell-s.patch @@ -1,4 +1,4 @@ -From e3fe0fd56ddb02841d3415be1025e494e61bdf9b Mon Sep 17 00:00:00 2001 +From c71372d2ca8ca43beead269e4fb082d2cf8c27c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roland=20P=C3=A1kai?= Date: Fri, 8 Jan 2021 10:58:23 +0100 Subject: [PATCH] LPS-125559 Fix width for the following fields Cell spacing, @@ -9,7 +9,7 @@ Subject: [PATCH] LPS-125559 Fix width for the following fields Cell spacing, 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/table/dialogs/table.js b/plugins/table/dialogs/table.js -index b19c2515df..6ffa71dc0f 100755 +index 983b1706d6..0238f25d45 100755 --- a/plugins/table/dialogs/table.js +++ b/plugins/table/dialogs/table.js @@ -342,7 +342,7 @@ diff --git a/patches/0009-LPS-131699-Add-null-check.patch b/patches/0009-LPS-131699-Add-null-check.patch index f6e47b18c0..e099058857 100644 --- a/patches/0009-LPS-131699-Add-null-check.patch +++ b/patches/0009-LPS-131699-Add-null-check.patch @@ -1,4 +1,4 @@ -From 11dc8885e95855c048c922c7470a165a4be3ade9 Mon Sep 17 00:00:00 2001 +From bf78419124fecbce9542c2ae7958a76879d0d977 Mon Sep 17 00:00:00 2001 From: IstvanD Date: Wed, 19 May 2021 17:43:17 +0200 Subject: [PATCH] LPS-131699 Add null check @@ -8,7 +8,7 @@ Subject: [PATCH] LPS-131699 Add null check 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/event.js b/core/event.js -index 0490902530..3ff2cde4b6 100644 +index 885943cac6..7967d8575f 100644 --- a/core/event.js +++ b/core/event.js @@ -172,7 +172,9 @@ diff --git a/patches/0010-LPS-136119-Set-id-on-first-render-instead-of-changin.patch b/patches/0010-LPS-136119-Set-id-on-first-render-instead-of-changin.patch index 06028d166b..16cc13cb14 100644 --- a/patches/0010-LPS-136119-Set-id-on-first-render-instead-of-changin.patch +++ b/patches/0010-LPS-136119-Set-id-on-first-render-instead-of-changin.patch @@ -1,4 +1,4 @@ -From 42e96cf0172be03ac56fb3256b0eb00dc55a7ecc Mon Sep 17 00:00:00 2001 +From 01ba9f29c74507faf84c296ff1a5a0fffa6e050a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20=C4=8Ciko=C5=A1?= Date: Mon, 9 Aug 2021 18:04:44 +0200 Subject: [PATCH] LPS-136119 Set `id` on first render, instead of changing it @@ -9,7 +9,7 @@ Subject: [PATCH] LPS-136119 Set `id` on first render, instead of changing it 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/plugins/button/plugin.js b/plugins/button/plugin.js -index 9cc0584169..e0c996e9e4 100644 +index 766ee18a0b..c6dc7963a7 100644 --- a/plugins/button/plugin.js +++ b/plugins/button/plugin.js @@ -143,7 +143,6 @@ diff --git a/patches/0011-LPS-136998-Avoid-breaking-the-UI-in-firefox.patch b/patches/0011-LPS-136998-Avoid-breaking-the-UI-in-firefox.patch index 372305b729..6e1fead6a6 100644 --- a/patches/0011-LPS-136998-Avoid-breaking-the-UI-in-firefox.patch +++ b/patches/0011-LPS-136998-Avoid-breaking-the-UI-in-firefox.patch @@ -1,4 +1,4 @@ -From 889a944dbfed333cf9c62ad88b12cf121db4d6f3 Mon Sep 17 00:00:00 2001 +From fc9c9c728217db6fac6441596ec6224d485198cc Mon Sep 17 00:00:00 2001 From: Norbert Nemeth Date: Tue, 17 Aug 2021 11:20:58 +0200 Subject: [PATCH] LPS-136998 Avoid breaking the UI in firefox @@ -8,7 +8,7 @@ Subject: [PATCH] LPS-136998 Avoid breaking the UI in firefox 1 file changed, 13 deletions(-) diff --git a/plugins/maximize/plugin.js b/plugins/maximize/plugin.js -index 2bb511945d..7223c436e1 100644 +index 109d3ce34d..05dc1baab2 100644 --- a/plugins/maximize/plugin.js +++ b/plugins/maximize/plugin.js @@ -72,19 +72,6 @@ diff --git a/patches/0012-LPS-137425-Don-t-check-selection-on-focus.patch b/patches/0012-LPS-137425-Don-t-check-selection-on-focus.patch index 7dc72a933e..abc25dfb05 100644 --- a/patches/0012-LPS-137425-Don-t-check-selection-on-focus.patch +++ b/patches/0012-LPS-137425-Don-t-check-selection-on-focus.patch @@ -1,4 +1,4 @@ -From 8bf5bc1230737c47a688f1e9423f4079324871f4 Mon Sep 17 00:00:00 2001 +From 6c0dd7fa53a2fe934b723cc80ceea811c7fdf5c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20=C4=8Ciko=C5=A1?= Date: Mon, 16 Aug 2021 18:36:20 +0200 Subject: [PATCH] LPS-137425 Don't check selection on focus @@ -8,7 +8,7 @@ Subject: [PATCH] LPS-137425 Don't check selection on focus 1 file changed, 9 deletions(-) diff --git a/core/selection.js b/core/selection.js -index 4da7aff707..e96202fb3c 100644 +index 62e1566d0d..d3f5538a74 100644 --- a/core/selection.js +++ b/core/selection.js @@ -976,15 +976,6 @@ diff --git a/patches/0013-LPS-139565-When-upgrading-from-6.2-to-7.1-image-widt.patch b/patches/0013-LPS-139565-When-upgrading-from-6.2-to-7.1-image-widt.patch index e8da3b74fe..d0a0f975b9 100644 --- a/patches/0013-LPS-139565-When-upgrading-from-6.2-to-7.1-image-widt.patch +++ b/patches/0013-LPS-139565-When-upgrading-from-6.2-to-7.1-image-widt.patch @@ -1,4 +1,4 @@ -From 3c19c6264eddfc993c80a6a4d356d366aca39acb Mon Sep 17 00:00:00 2001 +From a343dfde2e895cba7c369f4c05ce5436ec6eb673 Mon Sep 17 00:00:00 2001 From: Minhchau Date: Tue, 28 Sep 2021 11:18:40 -0700 Subject: [PATCH] LPS-139565 When upgrading from 6.2 to 7.1, image width/height @@ -10,7 +10,7 @@ If inline styles for height/width are set on the image, prefer those over the na 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/plugins/image2/plugin.js b/plugins/image2/plugin.js -index e85d58c2b1..87ddf82006 100644 +index 69ba8c79e5..331663d514 100644 --- a/plugins/image2/plugin.js +++ b/plugins/image2/plugin.js @@ -375,8 +375,8 @@ diff --git a/patches/0014-LPS-137763-If-contentsElement-is-defined-use-it-as-a.patch b/patches/0014-LPS-137763-If-contentsElement-is-defined-use-it-as-a.patch index 92533655f6..4856618409 100644 --- a/patches/0014-LPS-137763-If-contentsElement-is-defined-use-it-as-a.patch +++ b/patches/0014-LPS-137763-If-contentsElement-is-defined-use-it-as-a.patch @@ -1,4 +1,4 @@ -From 72c8c96f44517054aa8edc9b4705d160e444d168 Mon Sep 17 00:00:00 2001 +From 89333501caea4ab6070c2eeb58de62ef13b27ce2 Mon Sep 17 00:00:00 2001 From: Diego Nascimento Date: Mon, 18 Oct 2021 17:45:43 -0300 Subject: [PATCH] LPS-137763 If contentsElement is defined, use it as a @@ -10,7 +10,7 @@ Subject: [PATCH] LPS-137763 If contentsElement is defined, use it as a 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/core/creators/themedui.js b/core/creators/themedui.js -index 94f64f1b55..c63560a5b3 100644 +index 4efc2cbeea..6437140750 100644 --- a/core/creators/themedui.js +++ b/core/creators/themedui.js @@ -213,8 +213,10 @@ CKEDITOR.replaceClass = 'ckeditor'; @@ -27,7 +27,7 @@ index 94f64f1b55..c63560a5b3 100644 editor.mode = ''; } else { diff --git a/plugins/wysiwygarea/plugin.js b/plugins/wysiwygarea/plugin.js -index 6c0a89d405..772839586c 100644 +index c65f5b3aa9..6fb9055124 100644 --- a/plugins/wysiwygarea/plugin.js +++ b/plugins/wysiwygarea/plugin.js @@ -42,7 +42,7 @@ diff --git a/plugins/wsc/skins/moono-lexicon/wsc.css b/plugins/wsc/skins/moono-lexicon/wsc.css deleted file mode 100644 index d3d5dab875..0000000000 --- a/plugins/wsc/skins/moono-lexicon/wsc.css +++ /dev/null @@ -1,67 +0,0 @@ -.cke_dialog_body #overlayBlock, -.cke_dialog_body #no_check_over { - top: 39px !important; -} - -div[name='SpellTab'] - .wsc-spelltab-bottom - .cke_dialog_ui_vbox - td - > .cke_dialog_ui_button:first-child { - margin-top: 4px; -} - -div[name='SpellTab'] - .wsc-spelltab-bottom - .cke_dialog_ui_hbox_first - .cke_dialog_ui_select - > label { - margin-left: 0; -} - -div[name='SpellTab'] - .wsc-spelltab-bottom - .cke_dialog_ui_hbox_first - .cke_dialog_ui_select - div.cke_dialog_ui_input_select { - width: 140px !important; -} - -div[name='SpellTab'] - .wsc-spelltab-bottom - .cke_dialog_ui_hbox_first - .cke_dialog_ui_select - select.cke_dialog_ui_input_select, -div[name='Thesaurus'] - div.cke_dialog_ui_input_select - select.cke_dialog_ui_input_select { - margin-top: 1px; -} - -div[name='SpellTab'] - .wsc-spelltab-bottom - .cke_dialog_ui_hbox_first - .cke_dialog_ui_select - select.cke_dialog_ui_input_select:focus, -div[name='Thesaurus'] - div.cke_dialog_ui_input_select - select.cke_dialog_ui_input_select:focus { - margin-top: 0; -} - -div[name='GrammTab'] - .cke_dialog_ui_vbox - tbody - > tr:first-child - .cke_dialog_ui_button, -div[name='Thesaurus'] - .cke_dialog_ui_vbox - tbody - > tr:first-child - .cke_dialog_ui_button { - margin-top: 4px !important; -} - -div[name='Thesaurus'] div.cke_dialog_ui_input_select { - width: 180px !important; -}