Ticket #125 (closed defect: fixed)

Opened 22 months ago

Last modified 22 months ago

0.5b1 doesn't unstyle objects in Safari

Reported by: tknight Owned by: jf.hovinne
Priority: major Milestone: 0.5
Component: editor Version: trunk
Keywords: safari Cc:

Description

I know the Safari implementation is still in beta, but I wanted to let you know of a bug I found.

When you bold text and save it. Then got back in and unbold it - and save it... it does not change. The raw data sent to the database shows the <strong> still in place. This function of course works just fine in Firefox.

Change History

Changed 22 months ago by jf.hovinne

  • status changed from new to closed
  • resolution set to fixed

This bug is caused by the following line in the xhtml() function (Safari specific):

jQuery('.Apple-style-span', this._doc.body).removeClass('Apple-style-span');

Removing this class is a bad idea, since Safari needs it.

r555 should fix the bug.

Thanks for the feedback.

Note: See TracTickets for help on using tickets.