Problem/Motivation
In #2994696-220: Render embedded media items in CKEditor, we discovered that CKEditor widgets (e.g., embedded images or media items) which can be aligned to the left or right are displayed without any margins by default, butting up right against the text that flows around them. Unless, that is, the frontend theme (which is used by CKEditor) was thoughtful enough to include some margins in its styling. That's kind of icky -- margins are nice and make things look better.
Proposed resolution
Add generic margins for CKEditor widgets which can be aligned left or right -- i.e., anything that can interact with filter_align.
Remaining tasks
Figure out the best approach to do this, and do it. Wim Leers suggested:
[Let's] add margins in a follow-up (and then target all CKEditor widgets (by using the selector .cke_widget_wrapper). Then things stay consistent :)
Sounds good :) Will need manual testing and screenshots.
User interface changes
TBD
API changes
TBD
Data model changes
TBD
Release notes snippet
TBD
Issue fork drupal-3072323
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
wim leersComment #3
wim leersComment #4
xjmComment #15
gauravvvv commentedComment #16
smustgrave commentedhave not reviewed
But number of open tags for this issue
Also don't see discussion for those values picked.