Skip to content
Snippets Groups Projects
Commit 18693c00 authored by catch's avatar catch
Browse files

Issue #3291047 by Wim Leers, Spokje: Move Quick Edit-specific styling of...

Issue #3291047 by Wim Leers, Spokje: Move Quick Edit-specific styling of CKEditor 4 & 5 into Quick Edit module

(cherry picked from commit e47f94ca)
parent 515a89ea
No related branches found
No related tags found
No related merge requests found
Showing
with 113 additions and 17 deletions
......@@ -23,17 +23,3 @@
font-size: 14px;
-webkit-touch-callout: none;
}
/**
* Adjust the style of in-place editing CKEditor instances.
*/
.quickedit-toolgroup.wysiwyg-main .cke_chrome,
.quickedit-toolgroup.wysiwyg-main .cke_inner,
.quickedit-toolgroup.wysiwyg-main .cke_top {
border-top: none;
border-right: none;
border-bottom: none;
border-left: none;
background: transparent;
box-shadow: none;
}
......@@ -17,9 +17,6 @@ drupal.ckeditor5.internal:
drupal.ckeditor5:
js:
js/ckeditor5.js: {}
css:
theme:
css/quickedit.css: { }
dependencies:
- core/jquery
- core/once
......
/**
* @file
* Functional styles for the CKEditor-based formatted text in-place editor.
*/
/**
* Adjust the style of in-place editing CKEditor instances.
*/
.quickedit-toolgroup.wysiwyg-main .cke_chrome,
.quickedit-toolgroup.wysiwyg-main .cke_inner,
.quickedit-toolgroup.wysiwyg-main .cke_top {
border-top: none;
border-right: none;
border-bottom: none;
border-left: none;
background: transparent;
box-shadow: none;
}
/**
* @file
* Functional styles for the CKEditor 5-based formatted text in-place editor.
*/
.quickedit-toolgroup.wysiwyg-main .ck.ck-toolbar {
border: none;
background: none;
}
......@@ -51,6 +51,10 @@ quickedit.inPlaceEditor.form:
quickedit.inPlaceEditor.formattedText:
version: VERSION
css:
component:
css/editors/formattedText.ckeditor.css: {}
css/editors/formattedText.ckeditor5.css: {}
js:
js/editors/formattedTextEditor.js: { attributes: { defer: true } }
dependencies:
......
/**
* @file
* Functional styles for the CKEditor-based formatted text in-place editor.
*/
/**
* Adjust the style of in-place editing CKEditor instances.
*/
.quickedit-toolgroup.wysiwyg-main .cke_chrome,
.quickedit-toolgroup.wysiwyg-main .cke_inner,
.quickedit-toolgroup.wysiwyg-main .cke_top {
border-top: none;
border-right: none;
border-bottom: none;
border-left: none;
background: transparent;
box-shadow: none;
}
/**
* @file
* Functional styles for the CKEditor-based formatted text in-place editor.
*/
/**
* Adjust the style of in-place editing CKEditor instances.
*/
.quickedit-toolgroup.wysiwyg-main .cke_chrome,
.quickedit-toolgroup.wysiwyg-main .cke_inner,
.quickedit-toolgroup.wysiwyg-main .cke_top {
border-top: none;
border-right: none;
border-bottom: none;
border-left: none;
background: transparent;
box-shadow: none;
}
......@@ -188,6 +188,11 @@ libraries-override:
theme:
css/quickedit.theme.css: css/quickedit/quickedit.theme.css
css/quickedit.icons.theme.css: css/quickedit/quickedit.icons.theme.css
quickedit/quickedit.inPlaceEditor.formattedText:
css:
component:
css/editors/formattedText.ckeditor.css: css/quickedit/editors/formattedText.ckeditor.css
css/editors/formattedText.ckeditor5.css: css/quickedit/editors/formattedText.ckeditor5.css
quickedit/quickedit.inPlaceEditor.image:
css:
component:
......
/**
* @file
* Functional styles for the CKEditor-based formatted text in-place editor.
*/
/**
* Adjust the style of in-place editing CKEditor instances.
*/
.quickedit-toolgroup.wysiwyg-main .cke_chrome,
.quickedit-toolgroup.wysiwyg-main .cke_inner,
.quickedit-toolgroup.wysiwyg-main .cke_top {
border-top: none;
border-right: none;
border-bottom: none;
border-left: none;
background: transparent;
box-shadow: none;
}
/**
* @file
* Functional styles for the CKEditor-based formatted text in-place editor.
*/
/**
* Adjust the style of in-place editing CKEditor instances.
*/
.quickedit-toolgroup.wysiwyg-main .cke_chrome,
.quickedit-toolgroup.wysiwyg-main .cke_inner,
.quickedit-toolgroup.wysiwyg-main .cke_top {
border-top: none;
border-right: none;
border-bottom: none;
border-left: none;
background: transparent;
box-shadow: none;
}
......@@ -208,6 +208,11 @@ libraries-override:
theme:
css/quickedit.theme.css: css/quickedit/quickedit.theme.css
css/quickedit.icons.theme.css: css/quickedit/quickedit.icons.theme.css
quickedit/quickedit.inPlaceEditor.formattedText:
css:
component:
css/editors/formattedText.ckeditor.css: css/quickedit/editors/formattedText.ckeditor.css
css/editors/formattedText.ckeditor5.css: css/quickedit/editors/formattedText.ckeditor5.css
quickedit/quickedit.inPlaceEditor.image:
css:
component:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment