-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Has anyone found a useful solution to the DesignMode problem when developing controls?
The issue is that if you nest controls then DesignMode only works for the first level. The second and lower levels DesignMode will always return FALSE.
The standard hack has been to look at the name of the process…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
There is a lot of info around about how to disable spell checking in html textarea element by using spellcheck='false'. However to have text area with more advanced capabilities, one must use iframe with designMode = "on" (see e.g. this page, this is a way that RichTextArea is implemented in GWT)…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
The following code works in Firefox 3.6, but not in Internet Explorer 8:
<html>
<head>
<title>Example</title>
<script type="text/javascript">
function init() {
alert(document.designMode);
document.designMode = "on";
alert(document…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi.
I've seen some questions on catching paste event. This looks helpful.
But I want to prevent paste from happening when the pasted content is not plaintext, but comes from msword or other wysiwyg editor.
Anybody got any experience on that?
I suppose I should catch the event and look for some specific…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I've seen some questions on catching the paste event. This looks helpful.
But I want to prevent paste on a designmode iframe from happening when the pasted content is not plaintext, but comes from MS Word or other WYSIWYG editor.
What is experience on that?
I suppose I should catch the event (bind…
>>> More