Opened 17 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 17 years ago by Frederico Caldeira Knabben

comment:2 Changed 17 years ago by Alfonso Martínez de Lizarrondo

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 &nbsp;

comment:3 Changed 17 years ago by Frederico Caldeira Knabben

I confirm the &nbsp; 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 Frederico Caldeira Knabben

Component: GeneralCore : Styles

comment:5 Changed 17 years ago by Frederico Caldeira Knabben

Resolution: fixed
Status: newclosed

Fixed with the new Style System introduced with [774].

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy