This commit is contained in:
Vanessa 2022-09-19 23:56:47 +08:00
parent 1ad3a1c505
commit 6851656c09
4 changed files with 13 additions and 13 deletions

View file

@ -1,4 +1,4 @@
import {hasClosestBlock, hasClosestByAttribute, hasClosestByClassName, hasClosestByMatchTag} from "./hasClosest";
import {hasClosestBlock, hasClosestByAttribute, hasClosestByClassName} from "./hasClosest";
import * as dayjs from "dayjs";
import {removeEmbed} from "../wysiwyg/removeEmbed";
import {transaction, updateTransaction} from "../wysiwyg/transaction";

View file

@ -45,7 +45,7 @@ export const fixTableRange = (range:Range) => {
}
}
}
}
};
export const selectAll = (protyle: IProtyle, nodeElement: Element, range: Range) => {
const editElement = getContenteditableElement(nodeElement);