Safari browser on Mac OS X doesn't support HTMLarea. This patch doesn't fix the problem, but it will disable HTMLarea when running under Safari.

Newer (unreleased) versions of Safari are rumored to be capable of running HTMLarea. If one gets released, I'll look into another patch that is version-specific.

CommentFileSizeAuthor
htmlarea_no_safari.patch617 bytesEric Scouten

Comments

gordon’s picture

I am thinking that I will commit this, but this has always been one of my pet hates of htmlarea. The fact that it will not detect browsers correctly, esp the versions.

I have been thinking that a better method is to either.

  1. modify the checkSupportedBrowser() so that it works properly
  2. write a plugin that will replace the checkSupportedBrowser() with one that actually works.

I am partial to the second option because if you do it right and only check the for the required features such as designMode or contentEditable. Turning this into a plugin will make it easier for people set it up compared to patching the htmlarea.

Doing this js would be so much nicer that making some kruft in php.

gordon’s picture

Thanks. Applied in cvs. but really should be done in htmlarea.

Anonymous’s picture