当我在summernote中插入Resizable函数时,我试图在表格中应用Resizable函数。有没有办法做到这一点?
答案 0 :(得分:0)
幸运的是,这对我有用,
this.insertTable = this.wrapCommand(function (dim) {
var dimension = dim.split('x');
var rng = this.createRange().deleteContents();
rng.insertNode(table.createTable(dimension[0], dimension[1], options));
$('.note-editable table').resizable({
handles: "n, w, e, s"
});
$('.note-editable td').resizable({
handles: "e, s"
});
});