feat: 🚀 不知道修复了没有
This commit is contained in:
@@ -5,9 +5,16 @@ class ImageBlot extends BlockEmbed {
|
||||
let node = super.create();
|
||||
node.setAttribute("src", value.url);
|
||||
node.setAttribute("id", value.id);
|
||||
|
||||
console.log("图片信息", node);
|
||||
return node;
|
||||
}
|
||||
|
||||
// 允许通过键盘删除
|
||||
deleteAt(index, length) {
|
||||
console.log(index, length, "===============>");
|
||||
console.log("===========super===========");
|
||||
super.deleteAt(index, length);
|
||||
}
|
||||
static value(node) {
|
||||
return {
|
||||
url: node.getAttribute("src"),
|
||||
|
||||
Reference in New Issue
Block a user