I’ve written about it twice already, two versions of TinyMCE back, but still...
I’m using TinyMCE 2.0.9 in a MODx 0.95 and 0.96RC1 environment. When using it as in manager there are no problems.
But as soon as I enter some text in the front end (say, in a NewsPublisher), there is some strange behavior.
As soon as I press Enter, it ends a paragraph and adds a secod
<p> </p> and then starts a new paragraph. So finally there are three paragraphs instead of only two.
Next problem is, I cannot assign no style to elements. It is simply ignored. The contents blink a little when a new style is chosen and... nothing happens. It is the same with commands for bold, italic and others... for an instant I can see the style changes but the next moment it is the same old plain text. As if a cleansing function would do a thorough, too thorough work.
This way the editor is useless for my users.
On the other hand, if I edit the HTML code directly, everything is fine.
I’m using Firefox 2.0.0.3 on XP system. I’ll try a new instance of Firefox, with no extensions, if those are a possible cause for this behavior.
On IE7 the new paragraph (when pressing Enter) works well, but when trying to apply a "bold" style, it triggers a javascript error "Object doesn’t support this property or method" in code
function tvOnTinyMCEChangeCallBack(i){
i.oldTargetElement.onchange();
}
Any ideas?