[wp-trac] [WordPress Trac] #23103: Image caption shortcode without a width is lost (was: Non image caption shortcode lost when switching from text to visual editor and back)
WordPress Trac
noreply at wordpress.org
Mon Feb 3 01:26:45 UTC 2014
#23103: Image caption shortcode without a width is lost
-------------------------+-----------------------------
Reporter: mark-k | Owner:
Type: enhancement | Status: closed
Priority: low | Milestone: Future Release
Component: Editor | Version: 3.4
Severity: normal | Resolution: worksforme
Keywords: | Focuses:
-------------------------+-----------------------------
Changes (by nacin):
* priority: normal => low
* type: defect (bug) => enhancement
* milestone: => Future Release
Comment:
Replying to [comment:3 azaozz]:
> Yes, the captions require the width attribute. We probably can recreate
the caption width from the image tag `width`, but don't see why the width
was removed from the caption in the first place.
I think it would be reasonable to do this. Wouldn't it also make it easier
to insert a caption shortcode manually?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/23103#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list