21491 Posts in 5783 Topics by 2622 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 446 Views |
-
HTMLEditor Field in frontend (SS3)

23 August 2012 at 11:10am
Using ss3, I have a form with an html editior field, but nothing shows up.
If i paste in all the links to js and css files that the admin area uses, it shows up file.
This makes me think SS3 is missing a few JS links when using the HTMLeditor field in a form - and it's not being enables...possible a bug?
-
Re: HTMLEditor Field in frontend (SS3)

23 August 2012 at 11:34am
actually, just seems it's missing a bit...
<script type="text/javascript">
tinyMCE.init({
theme : "advanced",
mode: "textareas",
theme_advanced_toolbar_location : "top",
theme_advanced_buttons1 : "formatselect,|,bold,italic,underline,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,outdent,indent,separator,undo,redo",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : "",
height:"250px",
width:"400px"
});</script>
adding this to the template initiallized thed editor, but I think it should be doing this anyway without having to add manually...
-
Re: HTMLEditor Field in frontend (SS3)

24 August 2012 at 9:51pm
Good find, you may want to raise this as a ticket on open.silverstripe.org.
-
Re: HTMLEditor Field in frontend (SS3)

6 June 2013 at 3:50am
Hi there,
I've just come across this problem too, just wondering if this has been resolved?
Regards
| 446 Views | ||
|
Page:
1
|
Go to Top |



