Opened 11 years ago

Closed 10 years ago

#9376 closed defect (fixed)

Editor in Safari 3.2: hitting spacebar toggles formatting on and off

Reported by: sfox Owned by: liucougar
Priority: high Milestone: 1.4
Component: Editor Version: 1.3.1
Keywords: Cc:
Blocked By: Blocking:

Description

Best demonstrated with a test case:

Safari 3.2.1 (OS X) open test_Editor.html in dojo-1.3.1 dijit/tests

In the 2nd box click to get focus, then click the bold button then type several words.

Note that every other word is bolded.

Same behavior with other formatting options as well (bulleting is especially amusing).

Change History (6)

comment:1 Changed 10 years ago by sfox

And if it wasn't clear, this bug makes the editor component (at least if one needs any of the formatting buttons) completely useless for any site that has Safari visitors (which is presumably any public-facing site). Unless you want to explain to users that they have to type in all their text first, and then apply formatting. For now I'm living with dojo 1.2 bugs and looking at migrating to tinymce...

comment:2 Changed 10 years ago by bill

I'm trying http://download.dojotoolkit.org/release-1.3.1/dojo-release-1.3.1/dijit/tests/test_Editor.html but it's working for me. My machine auto-downloaded safari 4 though (which has been released for a few weeks now. Is it still happening for you on safari 4?

I assume that it doesn't matter where you click to get focus? I'm clicking at the very beginning of the document, before "This".

comment:3 Changed 10 years ago by sfox

Yeah, works fine for me in Safari 4. But in 3.2.1 it is broken. Doesn't seem to matter where you put the focus. I grabbed the older version (which seems to run fine alongside the new one) here: http://michelf.com/projects/multi-safari/

comment:4 Changed 10 years ago by Douglas Hays

I think this is fixed by [17832] in trunk. The space was sending onclick events to the toolbar.

comment:5 Changed 10 years ago by bill

Milestone: tbd1.4
Summary: Editor in Safari: hitting spacebar toggles formatting on and offEditor in Safari 3.2: hitting spacebar toggles formatting on and off

Ah Doug is right, I confirmed on my machine (dojo 1.3 breaks on safari 3.2 but trunk works).

comment:6 Changed 10 years ago by bill

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.