[wp-trac] [WordPress Trac] #20609: <p> tags in Editor not working on editing with wp_editor, wenn disabling media_buttons or quicktags
WordPress Trac
wp-trac at lists.automattic.com
Sat May 5 01:01:58 UTC 2012
#20609: <p> tags in Editor not working on editing with wp_editor, wenn disabling
media_buttons or quicktags
--------------------------+------------------------------
Reporter: julian42 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version:
Severity: normal | Resolution:
Keywords: |
--------------------------+------------------------------
Comment (by azaozz):
This is caused by not running the content for the editor through
`wp_richedit_pre()`. That's done when both editors are used but not when
only TinyMCE or only Quicktags is used.
Not sure what would be the best way to handle this. Seems logical to
always run these filters, however the content is escaped beforehand in all
places in core that only use Quicktags. Perhaps another option in
wp_editor()'s $settings array that would turn default filters on or off?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20609#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list