galer88
galer88

Reputation: 240

ckeditor - edit contenteditable div outside editor

I have div with my ckeditor (only toolbar):

editor = CKEDITOR.appendTo('topSpace',
{
    editingBlock: false
});

and I want to edit text in my contenteditable div, but buttons in toolbar don't work for selected text. Any solution?

Upvotes: 1

Views: 1665

Answers (1)

Dan7
Dan7

Reputation: 1727

CKEditor uses iframe for editing, which is different from making on-page divs editable via contenteditable. Fortunately there are some contenteditable editors out there for you:

More from this answer: https://stackoverflow.com/a/6756414/232288

Upvotes: 2

Related Questions