mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-01-11 03:08:50 +01:00
This commit is contained in:
parent
b3dd8791db
commit
92d3f0b0bf
1 changed files with 0 additions and 4 deletions
|
|
@ -1057,10 +1057,6 @@ export const turnsIntoTransaction = (options: {
|
|||
const undoOperations: IOperation[] = [];
|
||||
let previousId: string;
|
||||
selectsElement.forEach((item, index) => {
|
||||
if ((options.type === "Blocks2Ps" || options.type === "Blocks2Hs") &&
|
||||
item.getAttribute("data-type") === "NodeHeading" && item.getAttribute("fold") === "1") {
|
||||
setFold(options.protyle, item, undefined, undefined, false);
|
||||
}
|
||||
item.classList.remove("protyle-wysiwyg--select");
|
||||
item.removeAttribute("select-start");
|
||||
item.removeAttribute("select-end");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue