Opened 10 years ago
Closed 10 years ago
#30038 closed defect (bug) (fixed)
Update the default styles in TinyMCE
Reported by: | azaozz | Owned by: | azaozz |
---|---|---|---|
Milestone: | 4.1 | Priority: | normal |
Severity: | normal | Version: | |
Component: | TinyMCE | Keywords: | has-patch |
Focuses: | ui, template | Cc: |
Description
Many themes make good use of editor-style.css
, but there are quite a few that still relay on the default styling of the Visual editor.
It's been some time since we've updated that, and the difference is quite large when switching from a theme that styles the editor to a theme that doesn't.
Attachments (3)
Change History (9)
#2
@
10 years ago
- Focuses ui template added
- Keywords has-patch added
Any chance you could post before and after screenshots to give the peanut gallery a visual?
#4
@
10 years ago
- Owner set to azaozz
- Resolution set to fixed
- Status changed from new to closed
In 29986:
#5
@
10 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
This has some back-compat issues. Can make the editor font very large when the user has increased the default font size in the browser settings and additionally zooms-in the screen. Also some themes set the font on the html element to a large value in editor-style.css which is then overridden by the default style.
Both of these are fixed by changing the default font size from 100% to 16px.
In 30038.patch:
max-width: 100%;
to the body to avoid horizontal scrollbar in some cases.