Daniel Fournier wrote:
document.designMode='on'; document.designMode='off'; alert(document.designMode);
Well, when design mode is off you can type in text in the editor window, but calling a Midas function thru execCommand returns the error:
Thanks but what I wanted to say is that on my Browser, document.designMode='on'; document.designMode='off'; leaves the designmode active. Am I doing something wrong here?
RK
What do you mean by active: either typing in the browser editor or calling Midas commands?
When off you can go on typing in but you can't call commands.
Unfortunatly, I didn't find an easy way to disable typing.
Daniel
