Opened 18 years ago
Closed 17 years ago
#52 closed Bug (fixed)
Safari: "Remove Format" button adds Apple tag to the code
Reported by: | Frederico Caldeira Knabben | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | Safari Compatibility |
Component: | Core : Styles | Version: | |
Keywords: | Cc: |
Description
The "Remove Format" button makes the code dirty. It does remove the format, but also adds a new tag to the source: <span class="Apple-style-span" style="...">. This tag, other than unwanted, applies a style to the text which is different from the editing are style. In other words, the text is messed up.
Change History (5)
comment:1 Changed 18 years ago by
comment:2 Changed 17 years ago by
The span problem seems to have been fixed, but now it's quite worse the behavior of the removeFormat: after removing the format of some text and switching to source all the spaces become
comment:3 Changed 17 years ago by
I confirm the issue with the latest nightly. It doesn't happen with Safari 3 Beta for Mac and Win, which instead have other problems, like appending new paragraphs.
Hopefully we'll be fixing this one by implementing our custom Remove Format logic for version 2.5.
comment:4 Changed 17 years ago by
Component: | General → Core : Styles |
---|
comment:5 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed with the new Style System introduced with [774].
WebKit Bugzilla:
http://bugs.webkit.org/show_bug.cgi?id=12245