feat: 🚀 不知道修复了没有

This commit is contained in:
2025-07-22 14:26:12 +08:00
parent f867f50114
commit 2347bc6f0c
5 changed files with 432 additions and 113 deletions

View File

@@ -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"),