contenteditable="false" is not working in some scenario

  •  08-11-2011, 3:46 PM

    contenteditable="false" is not working in some scenario

    Hi,
     
    We use CuteEditor.net 6.6. We use the following property to prevent user from modifying some area.
     
    contenteditable="false" unselectable="ON"
     
    However, when user use "Delete" button on the keyboard, user is able to delete the "not editable" area on "Normal" tab.
     
    Here is how to reproduce this problem:
     
    1) Copy the following html in the html tab
     
     <html>
        <head>
        </head>
        <body>
            <div id="4" contenteditable="false" unselectable="ON" isrequired="0"><strong>Title</strong></div>
            <div><br />
            </div>
            test0<br />
            <div id="5" contenteditable="false" unselectable="ON" isrequired="1"><strong>Description</strong></div>
            <div><br />
            </div>
            test1<br />
            <div id="6" contenteditable="false" unselectable="ON" isrequired="1"><strong>Articlebody</strong></div>
            <div><br />
            </div>
            test2<br />
        </body>
    </html>
     
    2) Go to "Normal" tab, notice the "Title", "Description" and "ArticleBody" are not editable.
     
    3) put cursor in front of test(), press "Delete" button on keyboard,  notice you can delete "Description"
     
    I can reproduce this problem on this editor that I am using to type the forum. Is there anything that I can do to prevent this issue. This is very critical for us.
     
    Thanks in advance.
    Qian 
     
     
     
View Complete Thread