[wp-trac] [WordPress Trac] #32425: Update WP_Editors and TinyMCE initialization
WordPress Trac
noreply at wordpress.org
Mon Jun 15 23:11:36 UTC 2015
#32425: Update WP_Editors and TinyMCE initialization
-------------------------+------------------
Reporter: azaozz | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.3
Component: TinyMCE | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
-------------------------+------------------
Comment (by azaozz):
In 32425.3.patch:
- Keep the JS `wpautop()` in editor.js but add it to `wp.editor.autop()`
and `wp.editor.removep()`.
- Use the above to handle adding/removing of `<p>` automatically from the
`wordpress` plugin.
- Do not run the post_content through wpautop() before outputting it for
editing.
- Deprecate `wp_richedit_pre()` and `wp_htmledit_pre()` and introduce
`format_for_editor()`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32425#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list