Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » Problem with HtmlEditorField

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

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

Page: 1
Go to End
Author Topic: 1460 Views
  • blaater
    Avatar
    Community Member
    22 Posts

    Problem with HtmlEditorField Link to this post

    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!

  • Willr
    Avatar
    Forum Moderator
    5489 Posts

    Re: Problem with HtmlEditorField Link to this post

    is your database field of HTMLText rather then just Text?

  • blaater
    Avatar
    Community Member
    22 Posts

    Re: Problem with HtmlEditorField Link to this post

    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!

    1460 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.