HTML editor of reach Text editor delete a jscript ??? Options
lpastor
Posted: Saturday, October 18, 2008 9:54:55 PM

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 ???

mortenbock
Posted: Saturday, October 18, 2008 11:33:44 PM

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.

Morten Bock - Level 2 certified - MVP 2008/2009 - My danish blog with a few english posts

daniel_l
Posted: Monday, October 20, 2008 8:58:59 AM
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.
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.