Safari, Wordpress, and TinyMCE

| posted in: life 

The visual editor provided with Wordpress is actually an implementation of TinyMCE.  Contained in the Wordpress implementation is coding that checks the browser type.  The coding following at least one of the Safari checks strips out all paragraph tags (<p>).  This means that any entry you either edit or create using Safari turns in to one huge block of text the instant you save or publish.  Not what you want, believe me.

There are at least two Trac entries on the Wordpress development site detailing this problem, each with a chain of comments about the criticalness of the problem.  There are also a couple of threads on the Wordpress forum regarding the issue.  It appears that you could edit the tinyMCE code within your Wordpress installation, to remove the offending Safari conditional.  The group consensus was uncertain as to any side effects of this hack.  Also, you would have to re-apply the hack each time you updated Wordpress.

Hoping to avoid surgery on my installations, I opted to install the Advanced TinyMCE plugin (not the simplest of operations), wondering if it would fix the problem.  No such luck.

So I am still forced to edit postings using any browser except Safari 3.

Author's profile picture

Mark H. Nichols

I am a husband, cellist, code prole, nerd, technologist, and all around good guy living and working in fly-over country. You should follow me on Twitter.