[cla][patch] Safari and dijit.Editor


Hi there!

I posted some Patches back in 2006 to get Editor2 working with Safari – and now I’m at it again for dijit.Editor 🙂

So far, I’ve managed to get Font-Formatting and Alignment working, mainly by preventing Safari from losing the selection on click.

I’ve also implemented a Html-Source editing plugin, which I’m happy to share if you’re interested. For that I needed to fix RichText#replaceValue?() – is there any particular reason why there is no catch-all that just hands the call off to setValue?

Finally I had an issue where Safari would only display the text-value, with all html-formatting stripped.

I’m attaching a patch with these three changes.

thanks for any feedback you can give me

cheers, Hannes

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s