Opened 11 years ago

Closed 11 years ago

#10433 closed Bug (wontfix)

editor.insertHtml and contenteditable bug

Reported by: Roberto Owned by:
Priority: Normal Milestone:
Component: Core : Read-only Version: 4.1.2
Keywords: Cc:

Description

Hello everybody. I found a strage bug.

Look at this demo website:

http://media.dday.it/roby/editor2/samples/

I'm trying to create an impagination system where I add some templates using editor.insertHtml.

Every div in mypage has contenteditable=false but the paragraph are contenteditable=true.

You can add a template using the button at the end of the page. If you try to insert a picture in a paragraph (editable) using the second button you have a an error:

Uncaught TypeError: Cannot call method 'checkReadOnly' of undefined.

It looks like CKeditor is not looking at the <p> property but it follow the div contenteditable=false.

Change History (1)

comment:1 Changed 11 years ago by Piotrek Koszuliński

Resolution: wontfix
Status: newclosed

Editor does not handle nested editables at this point. Though, we're working on solution for that in #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