Jump to:

22983 Posts in 11709 Topics by 2827 members

General Questions

SilverStripe Forums » General Questions » Problems with source html editor

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Page: 1
Go to End
Author Topic: 661 Views
  • nemoneo
    Avatar
    Community Member
    1 Post

    Problems with source html editor Link to this post

    Hello

    I have a Problem with the HTML Source Editor on the Silverstripe admin site.

    I want to embbed a Java Applet into a regular Page, but if i paste the applet Tag into the source editor nothing happen.

    <APPLET code="Applett.class" archive = "Applett.jar" width=350 height=200></APPLET>

    Wenn i reopen the HTML Source Editor the Tag is gone.

    What is my fault?

    Thanks.

    Regards
    Michael

  • Mo
    Avatar
    Community Member
    485 Posts

    Re: Problems with source html editor Link to this post

    I think the HTMLEditorField blocks certain html tags (I would imagine for security reasons).

    What I usually do is create another HTMLText entry in the model and then just use add a TextAreaField to the getCmsFields() method. The only issues with this are that the applet wont be embeded within your page content, it will either be above or below.

    Mo

    661 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.