#14623 closed enhancement (maybelater)
Dragging Images with captions in Visual Editor causes unintended line breaks
Reported by: | iandstewart | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 3.0.1 |
Component: | TinyMCE | Keywords: | |
Focuses: | Cc: |
Description
In the Visual Editor, dragging images with captions into the middle of a paragraph causes unintended splitting of that paragraph. As a suggestion, to avoid confusion between captioned images and uncaptioned images (that aren't wrapped in div tags), captioned images should probably be prevented from dragging inbetween paragraph tags or automatically move just before the opening of a paragraph or just below the closing depending on where they were dropped in a paragraph.
Change History (3)
#1
@
14 years ago
- Summary changed from Dragging Images with captions in Visual Editor causes unitended line breaks to Dragging Images with captions in Visual Editor causes unintended line breaks
Note: See
TracTickets for help on using
tickets.
If I'm understanding the issue correctly, this is due to the implementation of TinyMCE, which will attempt to insert dragged contents at the point of release. Since the contents in the case contain a div, the p tag is forced to separate.
Bumping the image to the beginning/end of the paragraph would be a bit more usable, but likely isn't worth the investment. Patches welcome.