Hello,
I'm running into some strange behavior/bug of the (very nice) RTE
editor (or most likely my code).
I have implemented a simple file browser using a simple Dialog that
pass the selected URL to exec(). BrowserDialog is a subclass of Dialog
with few added methods and rewrote from scratch Rte.Tools.Image
implementing a custom prompt().
code here:
http://jsfiddle.net/LcHwp/5/
Everything seems to work but there is a strange behavior when you
select a different size with the Selectable. The code passes the new
URL to exec() but the editor won't insert it.
in my app I load a url instead of getting the html from the page
binding the first click event onLoad, but the behavior is the same.