[wp-trac] [WordPress Trac] #10753: Introduce pre-defined styles that are available in the editor
WordPress Trac
wp-trac at lists.automattic.com
Thu Sep 10 03:16:27 UTC 2009
#10753: Introduce pre-defined styles that are available in the editor
--------------------------------------+-------------------------------------
Reporter: micasuh | Owner: azaozz
Type: feature request | Status: reopened
Priority: normal | Milestone: Future Release
Component: Themes | Version: 2.8.4
Severity: normal | Resolution:
Keywords: needs-patch dev-feedback |
--------------------------------------+-------------------------------------
Comment(by micasuh):
Replying to [comment:5 azaozz]:
> Yes it's a large change that would take months for the themes to adopt
and for the users to update their themes. Perhaps the proper place for
such discussion is wp-hackers.
While it could take months for theme developers to catch on and support
the idea, I think the implementation of this idea should not take long.
Starting out, this could easily be an optional switch that exists in
Settings>Writing. Provide a checkbox which, when enabled, would do two
things:
1. Switch functionality of TinyMCE from inline styles to modular HTML and
class name attributes. Modular HTML means that if designer wants to use
divs instead of spans, he'll have that option.
2. Insert TinyMCE CSS with predefined, best practices styles (i.e.
class="strong" functions similarly to strong tag).
Assuming theme developers adopt this in mass, this optional feature could
become permanent feature down the road. At present, when this
functionality becomes available, it would only become functional when
activated through the Settings menu option.
scribu - Where is this new thread called "Inline styles and TinyMCE"? I
couldn't find it.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/10753#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list