#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: |
Description
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 12 years ago by
Keywords: | toolbar removed |
---|---|
Status: | new → pending |
comment:2 follow-up: 3 Changed 12 years ago by
Resolution: | → invalid |
---|---|
Status: | pending → closed |
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: http://nightly.ckeditor.com/standard/samples/inlinebycode.html
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.