Opened 6 months ago
Last modified 4 months ago
#22799 new defect (bug)
Erase Formatting Doesn't erase
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.6 |
| Component: | TinyMCE | Version: | 3.4 |
| Severity: | normal | Keywords: | has-patch needs-testing |
| Cc: | mdhansen@… |
Description
In the Content area of a page under the visual test manager of a page if you highlight text click the bold button add italics and cross out. When I I highlight the text and then click the erase format button it only removes the italics and leaves the cross out.
On two other builds I have tested this problem with it turns the text red?
Have tested on two local installs. (one clean to test this issue) and one external install. All using Trunk all the same issue. See screenshot for visual reference.
Attachments (2)
Change History (13)
- Keywords needs-patch removed
That looks like two different themes to me, probably styling stuff (markup) differently. What's the HTML/Text tab show? Screenshot of that is probably fine.
Yes it was found in 3.4.2 as well.
- Keywords has-patch needs-testing added; reporter-feedback removed
- Milestone changed from Awaiting Review to 3.6
Since we use <del> tag for the Strikethrough button, we need to specify it as removable with the Remove Format button. This can be set in the formats init option. Also added there few of the deprecated elements that are supported with the patched html5 schema.
comment:9
MikeHansenMe — 5 months ago
- Cc mdhansen@… added
Tested the patch and it works as expected w/ 3.6-alpha.
comment:10
SergeyBiryukov — 4 months ago
#23359 was marked as a duplicate.
comment:11
mark-k — 4 months ago
HTML5 defines strong, del and em as having semantic meaning and not a styling one. If all the editor does is styling then it should use style="font-weight:bold" instead of strong etc..
Looking at the patch the deletion of strong, em, del, and ins is wrong as it changes the meaning of the content.

Is this reproducible in 3.4.2?