[wp-trac] [WordPress Trac] #29592: Image captions break when wpautop is disabled in the editor
WordPress Trac
noreply at wordpress.org
Tue Sep 9 02:25:21 UTC 2014
#29592: Image captions break when wpautop is disabled in the editor
--------------------------+-------------------
Reporter: azaozz | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.0.1
Component: TinyMCE | Version: 4.0
Severity: normal | Keywords:
Focuses: |
--------------------------+-------------------
By default wpautop is enabled in TinyMCE but can be turned off when using
`wp_editor()`. This stops running the JS `pre_wpautop()` on saving the
post content and enables some basic HTML source formatting.
This breaks the regexp that converts the `<div><dl>...</dl></div>` back to
a caption shortcode.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29592>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list