TinyMCE Editor Broken Options
dygfloyd
Posted: Thursday, July 31, 2008 3:21:14 AM
Rank: Newbie

Joined: 7/31/2008
Posts: 8
Location: USA
Hey Everyone,

I'm having a problem with the TinyMCE editor. I add a property to a document type and set it to RichTextEditor. But, when I go in to edit a page, the rich text editor is a small box and there are no buttons. I've attached a screenshot so you can see.

I've tried looking under data types to make sure all the settings are correct. I've upgraded from version 3.0.3 to version 3.0.5. I get the same results in IE, Firefox, even Safari. (For PC) I've read through the forums. I have no idea what's causing this editor to break. I was hoping someone here might have an idea.

The property "Page Copy" is supposed to be a rich text editor.


I've also noticed the color picker is not working as well but I can work around that one.

Anyone have any ideas?

Thanks for your help!

Steve
daniel_l
Posted: Thursday, July 31, 2008 9:07:03 AM
Rank: Aficionado

Joined: 6/25/2007
Posts: 146
Location: Malmo, Sweden
From what I remember tweaking the TinyMCE about a year ago that small text-box should be there (and is the one that is actually storing you text), but hidden in favor for (or maybe transformed into?) TineyMCEs fancy editor by javascript. So maybe the TinyMCE javascript is missing or not loading somehow?

Is it me or umbraco? Umbraco Certified Professional Level 2.
dygfloyd
Posted: Thursday, July 31, 2008 2:23:41 PM
Rank: Newbie

Joined: 7/31/2008
Posts: 8
Location: USA
Yes, you are correct. It is storing my text. If I were a betting man, I'd say you are correct about the javascript. When it loads, it looks like it tries to load the editor, tries to resize the text box to the correct size but fails. This box is the result. But, I do not get any javascript errors unless they are hidden because of the AJAX postback.

Ok, so I'm fairly certain the javascript is in the \umbraco_client\tinymce directory. I looked and the scripts where there. I even replaced them from a copy of the site where TinyMCE is working. Do you know of any ways to debug why it may not be loading correctly?
dygfloyd
Posted: Saturday, August 30, 2008 7:37:24 PM
Rank: Newbie

Joined: 7/31/2008
Posts: 8
Location: USA
Just in case anyone is interested, I found the problem. If you have a space in the alias name for the property, it appears to confuse Umbraco and it cannot load the Javascript for the editor. So, "Page Copy" broke the editor. Once I switched it to "PageCopy", it worked great.
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.