What steps will reproduce the problem?
1. Create a jquery-ui dialog with autoOpen=false parameter and a textarea
inside it.
2. Create a link to open the dialog with .dialog("open") method
3.
---------PseudoCode Example-----------
<div id="J_editorDialog">
<textarea name="content"></textarea>
</div>
<a onclick='js:$("#J_editorDialog").dialog("open")' href="#">Open Dialog</a>
$('#J_editorDialog').dialog({
autoOpen : false,
});
KindEditor.create('textarea[name="content"]');
-------------------------------
What is the expected output? What do you see instead?
I expect the editor showed well, but instead the toolbar doesnt show, however
with autoOpen:true, the editor toolbar shows well.
You can see an screenshot here:
http://www.alejandrofanjul.com/screenshots/2012-12-11_231026.jpg
What version of the product are you using? On what operating system?
Last version, Windows 7, Chrome 23
Please provide any additional information below.
I fixed with this code after the editor creator to redraw the editor:
clone=$(".ke-container").clone();
clone.show().appendTo("body").hide().remove()
After fixed you can see a screenshot here:
http://www.alejandrofanjul.com/screenshots/2012-12-11_231120.jpg
Original issue reported on code.google.com by alex.fan...@gmail.com on 11 Dec 2012 at 10:11
Original issue reported on code.google.com by
alex.fan...@gmail.com
on 11 Dec 2012 at 10:11