http://nightly-v4.ckeditor.com/3716/sam ... neall.html
<div contenteditable="true">text sample</div>
<script>
html="<div contenteditable='true'>text sample</div>";
$("body").append(html);
</script><div contenteditable="true">text sample</div>
<script>
html="<div contenteditable='true'>text sample</div>";
$("body").append(html);
</script>
Re: Inline Editing doesn't show toolbar on appended element
http://nightly-v4.ckeditor.com/3716/sam ... ycode.html
Piotrek (Reinmar) Koszuliński
CKEditor JavaScript Developer
--
CKSource - http://cksource.com
--
Follow CKEditor on: Twitter | Facebook | Google+
Re: Inline Editing doesn't show toolbar on appended element
http://jsfiddle.net/JUepW/1/
$('#drag').draggable().bind('click', function(){ $(this).focus(); })Re: Inline Editing doesn't show toolbar on appended element
http://jsfiddle.net/JUepW/4/
Editor stays when you click away from element
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?
Thanks!