Jump to:
| Project: | Drupal core |
| Version: | 8.x-dev |
| Component: | CSS |
| Category: | bug report |
| Priority: | major |
| Assigned: | Unassigned |
| Status: | closed (duplicate) |
| Issue tags: | CKEditor in core, Spark |
Issue Summary
Follow up to #1890502: WYSIWYG: Add CKEditor module to core. That issue introduced a ckeditor.css file containing CSS such as:
.align-center {
text-align: center;
}When a content editor edits text via CKEditor and clicks the "align center" button to center align some text, this class gets added to the corresponding HTML.
Currently, because this CSS file resides in the CKEditor module, if you then disable that module, that CSS file is no longer output to the page. That's not desired: when a site builder disables the CKEditor module, they expect it to just mean that content can't be edited with CKEditor any more, not that content that had previously been edited with it will no longer retain any of its styling.
So, where should this CSS live? system.base.css?
Comments
#1
Tagging
#2
Although the issue title is worded as a task, this is really about fixing a bug.
#3
Addressed by #1890502-114: WYSIWYG: Add CKEditor module to core; will be discussed further in #1907418: Make CKEditor's alignment + underline buttons available (but not enabled by default).