[wp-trac] [WordPress Trac] #17144: Editor API enhancement
WordPress Trac
wp-trac at lists.automattic.com
Sun Jul 17 19:06:58 UTC 2011
#17144: Editor API enhancement
-------------------------+------------------
Reporter: azaozz | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.3
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: |
-------------------------+------------------
Comment (by azaozz):
Replying to [comment:7 WraithKenny]:
> On editor tab switch, we should use admin ajax to check for
'unfiltered_html', $allowedTags or $allowedPostTags using the php KSES
functions,
The way TinyMCE works we can set `invalid_elements` while initiating it.
That covers HTML tags and attributes.
> and perhaps use the php wpautop rather then a js version to save on
maintaining two separate functions.
This will make switching from the HTML editor to TinyMCE quite slow, but
something to test nevertheless. In any case maintaining wpautop in both
languages (JS and PHP) is not a problem at all.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/17144#comment:9>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list