Opened 11 years ago
Closed 11 years ago
#30554 closed defect (bug) (fixed)
<img> sizes attribute is stripped when switching from text to visual tab in the editor
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | 4.2 | Priority: | normal |
| Severity: | normal | Version: | |
| Component: | TinyMCE | Keywords: | has-patch |
| Focuses: | Cc: |
Description
Going to the "text" tab to add sizes attribute (manually) to the image, and then going to "visual" tab results in that attribute being stripped out.
Related to issue #28993 "<img> srcset attribute is stripped when switching from text to visual tab in the editor (fixed)"
Attachments (1)
Change History (11)
#5
@
11 years ago
patch.diff patches TinyMCE core, we can't do that :)
Like #28993, this should be fixed upstream first.
#6
follow-up:
↓ 8
@
11 years ago
Looks like it has already been fixed upstream per https://github.com/tinymce/tinymce/commit/9d8e44cc262109811a6e213da5487d39ee345ea5
#8
in reply to:
↑ 6
@
11 years ago
Replying to gwelser:
Yep, it is fixed upstream and will be in WordPress 4.2. We will update TinyMCE in trunk when version 4.1.8 comes out.
Note: See
TracTickets for help on using
tickets.
Patch to add
sizesto allowableimgattributes.