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.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Problem with HtmlEditorField


Go to End


3 Posts   1924 Views

Avatar
blaater

Community Member, 22 Posts

4 August 2008 at 5:08am

Hello,

I'm making a custom cms-module which can create projects and assign Members to it.
It works allmost the same as SecurityAdmin exept for that I only can select Members instead of creating them.

Everything is working except for a HtmlEditorField to save a text and some image of the project. The tinyMCE is competely working, but when I save the data is not submitted. All the other fields are working.

When I change the HtmlEditorField into an TextareaField it does save.

When I look into the DOM I see a textarea and tinyMCE below it. It looks like the data from the textarea is submitted, but not updated when I type in the tinyMCE.

Has anybody had this problem before? How did you fix it?

Thanks in advance!

Avatar
Willr

Forum Moderator, 5523 Posts

4 August 2008 at 11:18am

is your database field of HTMLText rather then just Text?

Avatar
blaater

Community Member, 22 Posts

4 August 2008 at 6:37pm

I've tried it with both, but they are both not working. I assume that is has to be "HTMLText".

Are there any other things I can look at?

Thanks!