javascript - Close aloha editor -
i have iframe in turn contains html , aloha libraries editing.
when click on content blue-border editor toolbar, of course hides when mouse clicked outside of editable area.
however when click outside of iframe editor toolbar still shows.
i thought adding dummy element outside of editable area focus upon, doesn't hide it.
is there event fire hide it? have tried searching docs , google not find anything...
here's part called when deactivate editable click outside of editable (blur) https://github.com/alohaeditor/aloha-editor/blob/release/src/lib/aloha/editable.js#l771
to manually "destroy" editable use .mahalo() -- use .aloha()
blur mentioned first want do
hope helps
/rene
Comments
Post a Comment