TinyMCE randomly munging cms_selflink href's
Posted: Sun Sep 27, 2009 8:05 pm
I have been having a recurring periodic problem with TinyMCE 2.5.4. This happens in both CMSMS 1.5.4 and 1.6.5.
I will sometimes enter content in WYSIWYG mode and sometimes I prefer to use non-WYSIWYG because TinyMCE does not support all the CSS attributes I use. Mostly it's well-behaved, but with infuriating regularity the following will occur. I will have a link to an internal page, e.g.
Sometime during the save or switching from one mode to another, the href will be lost, partially stripped out, as in:
Note that the selflink href has disappeared along with the closing double quote. curly bracket and double quote, leaving a single double quote! Happens this way every time. Normally it's not a big deal to re-enter it, but it becomes annoying when I have 8 or 10 internal links to retype. The larger issue is that, at some point in the near future, I am going to be turning this over to the client who is not all that computer-savvy and who is going to panic the first time this happens when he tries to update a page and who will be unlikely to be able to fix it.
So, is this a bug or a feature? Has anyone else encountered this? Is there some configuration setting I've overlooked?
Alternatively, is there some other WYSIWYG editor plugin I could use other than TinyMCE?
----------------------------------
I will sometimes enter content in WYSIWYG mode and sometimes I prefer to use non-WYSIWYG because TinyMCE does not support all the CSS attributes I use. Mostly it's well-behaved, but with infuriating regularity the following will occur. I will have a link to an internal page, e.g.
Code: Select all
<div style="text-align: center"><a href="{cms_selflink href="Register"}"><img style="vertical-align: middle;" title="Register for the Summit" src="uploads/images/random.gif" alt="" width="46" height="20" /></a></div>
Code: Select all
<div style="text-align: center"><a href="{cms_selflink href="><img style="vertical-align: middle;" title="Register for the Summit" src="uploads/images/random.gif" alt="" width="46" height="20" /></a></div>
So, is this a bug or a feature? Has anyone else encountered this? Is there some configuration setting I've overlooked?
Alternatively, is there some other WYSIWYG editor plugin I could use other than TinyMCE?
----------------------------------