[wp-trac] [WordPress Trac] #26975: TinyMCE adding inline line-height styles and spans
WordPress Trac
noreply at wordpress.org
Mon Feb 3 12:17:12 UTC 2014
#26975: TinyMCE adding inline line-height styles and spans
--------------------------+------------------------------
Reporter: lumpysimon | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: TinyMCE | Version: 3.8.1
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by lumpysimon):
That's annoying, let's hope that gets fixed soon.
For now I've rolled out a quick plugin to my clients' sites that strips
out all occurrences of ` style="line-height: 1.5;"` on the `save_post`
hook. I know for sure that none of my clients ever have reason to insert
inline styles so this is fine for now. See
https://gist.github.com/lumpysimon/8782859
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26975#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list