[wp-trac] [WordPress Trac] #19437: Pass post type as a class to TinyMCE init
WordPress Trac
wp-trac at lists.automattic.com
Sat Dec 3 20:08:16 UTC 2011
#19437: Pass post type as a class to TinyMCE init
-------------------------+-----------------------------
Reporter: markjaquith | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: |
-------------------------+-----------------------------
Changes (by azaozz):
* type: defect (bug) => enhancement
* component: General => Editor
* milestone: Awaiting Review => Future Release
Comment:
Been looking into something similar recently too. However to set anything
into TinyMCE's iframe it has to go through JS (as it's 100% JS generated).
So we need a JS "helper" function to modify classes (and IDs?) in the
iframe document.
Also it seems we need to make editor-style.css more
structured/predictable. There are styles/selectors that shouldn't go in
there and all selectors should be exactly the same as in the theme's
style.css.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19437#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list