Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

TinyMCE fails


Reply

7 Posts   1271 Views

Avatar
Stephan

5 August 2009 at 1:40am (Last edited: 5 August 2009 1:41am), Community Member, 55 Posts

Hi experts,
we made an interface to edit data of restaurants.
We also managed to connect the image gallery to every restaurant.

So far this works perfect.

But we have one problem:
One of the textfields hast to be edited with the TinyMCE Editor.
The very first call shows the editor.
But every call afterwards only shows the plain textarea field.
The data is still there but shows of course all the html-tags.
This happens with FF and IE.

Any ideas ?

TIA Stephan

Avatar
Stephan

13 August 2009 at 8:22pm Community Member, 55 Posts

Hello ?
Nobody any ideas ?
Could this be related to:
Problems with ModelAdmin & HtmlEditorField (SS 2.3.2): http://www.silverstripe.org/all-other-modules/show/266079#post266079
Ticket #3586 ModelAdmin not working with HTMLText: http://open.silverstripe.com/ticket/3586

TIA Stephan

Avatar
theAlien

13 August 2009 at 10:55pm Community Member, 131 Posts

Hmmm...
Because you're posting in de DataObjectManager Module forum, I assume you're trying to use a HTMLEditor Field in a popup. That is likely to break. UncleCheese designed the SimpleHTMLEditorField to be used in DOM-popups.

Avatar
UncleCheese

14 August 2009 at 12:28am 4085 Posts

I'll let you in on a secret. SimpleTinyMCEField is coming very soon. :)

Avatar
Stephan

14 August 2009 at 1:03am Community Member, 55 Posts

Hi,
yes I'm aware about this problem.
But I'm not using it as a pop up.

CU Stephan

Avatar
UncleCheese

14 August 2009 at 12:08pm 4085 Posts

SimpleTinyMCEField is checked in. Documentation to follow.

Avatar
theAlien

16 August 2009 at 1:38am Community Member, 131 Posts

sorry... in that case i don't know what's happening...

UC: also SimpleTinyMCEField is awesome