Closed GoogleCodeExporter closed 9 years ago
[deleted comment]
well, there are 2 ways:
1) overwrite 'b' button callback (create 'exec' function)
2) owerwrite 'disable' button callback (it executes at submit time too).
disable: {exec:
function() {
var s = this.get_content();
s = s.replace( /([\s\S]*?)<\/b>/gi, '<strong>$1</strong');
this.set_content(s);
}
}
Original comment by plandem
on 24 Feb 2009 at 8:57
Original issue reported on code.google.com by
brecht...@gmail.com
on 19 Feb 2009 at 11:42