Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#9835 closed Task (invalid)

CKEditor toolbar is not shown for dynamic controls

Reported by: Kamlesh Owned by:
Priority: Normal Milestone:
Component: UI : Toolbar Version: 4.0
Keywords: Cc:


Hello, I have added dynamic div with contenteditable="true" in the page after droping a control using jQuery. On clicking this div it allows to edit the content but CKEditor toolbar is not shown.

Change History (3)

comment:1 Changed 11 years ago by Jakub Ś

Keywords: toolbar removed
Status: newpending

Could you please provide reduced sample page that shows this problem in code?

I'm talking about something like one of our samples located in samples folder.

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

Resolution: invalid
Status: pendingclosed

When adding dynamically div[contenteditable=true] you have to initialize editor on it:

CKEDITOR.inline( id/element );

Automatic initialization works only for elements which exist on page when it's loaded.

Check this sample:

comment:3 in reply to:  2 Changed 11 years ago by Kamlesh

Thanx alot. It worked.

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