|
|
 Rank: Aficionado
Joined: 8/4/2008 Posts: 111 Location: Serbia
|
Hi
I add a rich text editor on my document type.
When I want to add some jscript in HTML editor and when I upload it the jcsript diapered?!?
Is it a bug or what ???
|
|
 Rank: Addict
Joined: 7/19/2006 Posts: 815 Location: Århus, Denmark
|
The editor is trying to clean up the html, and will remove javascript. A better alternative would be to put your javascript in a separate file, and include it in your template.
|
|
Rank: Aficionado
Joined: 6/25/2007 Posts: 146 Location: Malmo, Sweden
|
Or if you really want to be able to edit the javascript from the document, use a textbox multiple instead of richtext to enter your javascript in.
Is it me or umbraco? Umbraco Certified Professional Level 2.
|
|
|
Guest |