Closed GoogleCodeExporter closed 9 years ago
Today's alternative
{{{
$('a[href="#clear"]').click(function()
{
var control = $.data( $('#wysiwyg')[0], 'wysiwyg' );
control.setContent('');
control.saveContent();
return false;
});
}}}
Original comment by joksnet
on 27 Mar 2008 at 9:59
Fixed at r18. The new syntax is:
{{{
$('#wysiwyg').wysiwyg('clear');
}}}
Original comment by joksnet
on 31 Mar 2008 at 8:59
Original issue reported on code.google.com by
joksnet
on 27 Mar 2008 at 9:57