1

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?

galer88
  • 240
  • 4
  • 15

1 Answers1

2

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

Community
  • 1
  • 1
Dan7
  • 1,657
  • 1
  • 19
  • 31
  • Iframe is only one of options in CKEditor. Using it with contenteditable divs is very easy and there's no need to recommend using another editor. – Darek Wędrychowski Feb 15 '13 at 07:53