The forum operates in read-only mode.
Please head to StackOverflow for support.
hi I'm rather new to ckeditor and just trying the latest ckeditor, I'm using inline editing feature like here:http://nightly-v4.ckeditor.com/3716/sam ... neall.htmlif I code like this:
<div contenteditable="true">text sample</div>
You have to manually initialize editor on this element. Otherwise it's only a native contenteditable without anything CKEditor provides.Check this sample: http://nightly-v4.ckeditor.com/3716/sam ... ycode.htmlBasically - you have to use CKEDITOR.inline( element ).
Piotrek (Reinmar) Koszuliński
CKSource - http://cksource.com
Follow CKEditor on: Twitter | Facebook | Google+
Thanks! I also figure it out a few hours ago.I ran into new problem, If you don't mind I'll ask it here,If somehow the div wrapper is also draggable, ckeditor won't active if I need to edit the text example here:http://jsfiddle.net/JUepW/1/I tried to intercept the click event,
ah found the solution. hahahttp://jsfiddle.net/JUepW/4/
I hope you don't mind my adding a question in here.
I managed to initialise the editor on the newly created element which sort of works. When you click on the newly created element, the inline editor appears. But if you click away from the element, the editor doesn't disappear. I find that I have to click back onto the element and then when I click away for the second time, the editor will go.
Do you know if there is a way to stop having to click back and forth?