Opened 12 years ago

Closed 10 years ago

#8580 closed Bug (fixed)

contentEditable is not worked on DIV

Reported by: mazongquan Owned by:
Priority: Normal Milestone:
Component: General Version: 3.2.2
Keywords: IE8 IE9 Cc: mike@…

Description

I set contentEditable="false" in a DIV, but still can modify the content inside DIV. <div contentEditable="false">xxx</div> I am not sure whether other has the same problem except DIV, maybe you can try :) Only in IE. My IE version is IE8.

Change History (3)

comment:1 Changed 12 years ago by Jakub Ś

Keywords: IE8 IE9 added; div contentEditable removed
Status: newconfirmed
Version: 3.6.13.2.2

To reproduce:

  1. Paste the below code inside editor:
    <div contentEditable="false">xxxx</div>
    
  2. Go to wysiwyg mode and click on a div - resize handles will appear
  3. Click somewhere inside editor but outside resize handles
  4. In IE9 cursor will be blinking at the end of text xxxx^. In IE8 whole text gets selected so additional right arrow key press is needed
  5. Start typing

Result: div gets modified.

Bug has been reproducible from CKEditor 3.2.2.

comment:2 Changed 12 years ago by Mike Nicholls

Cc: mike@… added

comment:3 Changed 10 years ago by Piotrek Koszuliński

Resolution: fixed
Status: confirmedclosed

Fixed by #9764.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy