I use the jQuery ui and it could be good to use the official ui.dialog for
the panel (whith the theme roller skin).
Maybe this little hack can help somebody. I load it just after the
jquery.rte.js :
// rte.uidialog.js
lwRTE.prototype.create_panel = function(title, width)
{
var self = this;
var tb = self.get_toolbar();
if(!tb) return false;
$('.rte-panel', tb).remove();
var dial = $('<div></div>') ;
$('<div></div>').addClass('rte-panel')
.css('position','relative').appendTo(dial);
dial.dialog({ title:title, width: width||250, height: 200, resizable:true,
zIndex:1000 }) ;
return $('.rte-panel:last') ;
}
Original issue reported on code.google.com by Xavier.B...@gmail.com on 17 Mar 2009 at 7:22
Original issue reported on code.google.com by
Xavier.B...@gmail.com
on 17 Mar 2009 at 7:22