Opened 11 years ago
Closed 11 years ago
#33477 closed defect (bug) (fixed)
TinyMCE: image caption break if the user changes the "Block format"
| Reported by: | azaozz | Owned by: | azaozz |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.4 |
| Component: | TinyMCE | Version: | 2.7 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
To reproduce:
- Select an image that has a caption.
- Change the Block format (the drop-down on the second toolbar row) to <p>, <h1>, <h2>, etc.
Happens because the caption "wrapper tag" is changed. This is generally a user error, but we can try to correct it.
Attachments (1)
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 33477.patch: when converting images with captions from HTML elements to shortcodes, make the wrapper div optional.
This div is a left over. Still there for back-compat. It was used to make it possible to center images with captions in old IE where centering of block elements in contentEditable is broken.