[wp-trac] [WordPress Trac] #21145: Switch from HTML to VISUAL mode - does not show anything in Visual mode
WordPress Trac
wp-trac at lists.automattic.com
Mon Jul 9 08:33:35 UTC 2012
#21145: Switch from HTML to VISUAL mode - does not show anything in Visual mode
--------------------------+-----------------------
Reporter: selnomeria | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone:
Component: Editor | Version: 3.4
Severity: major | Resolution:
Keywords: |
--------------------------+-----------------------
Changes (by mati1000):
* status: closed => reopened
* resolution: invalid =>
Comment:
Hi,
Our HTML example is:
`[caption align="alignleft" width="500"]<img class="alignleft size-
thumbnail wp-image-41536" src="http://core.trac.wordpress.org/raw-
attachment/ticket/21145/21145.overlapping.png" alt="" width="500"
height="72" /> Ticket #21145: 21145.overlapping.png[/caption]`
and SergeyBiryukov is right, because the missing `id` attribute - the
`match` is failed. In addition, I get both editors that are rendered at
the same time - like in the 21145.overlapping.png.
And of course, after define the `SCRIPT_DEBUG` and applying the patch its
works!
I don't know why we don't have the `id` in the shortcode, but we have a
lot of posts with captions without `id`s, and we cannot now upgrade to the
last version.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21145#comment:7>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list