View Full Version : unchangeable String

10-30-2007, 01:07 PM
with help this command i can put a string insted of a selected one :

tinyMCE.execCommand('mceInsertRawHTML', false, "blabla");

but i can delete this string insinde the Tiny editor with the Del Button ( Keyboard ) ! How can make it undeletable or unchangeable ??? Does anybody have an idea ?

10-30-2007, 04:11 PM
Javascript strings are by default immutable. I'm not sure I understand your question. Of course you can change your source code by hitting delete. Otherwise you would be back in the days of punch cards for programming. My advise, don't change it unless you want to. Your client can't.