mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-02-18 21:18:07 +01:00
This commit is contained in:
parent
1fe22e15f4
commit
17b4d8765a
5 changed files with 35 additions and 4 deletions
|
|
@ -64,7 +64,6 @@ export const turnIntoTaskList = (protyle: IProtyle, type: string, blockElement:
|
|||
return false
|
||||
}
|
||||
|
||||
|
||||
export const headingTurnIntoList = (protyle: IProtyle, type: string, blockElement: HTMLElement, editElement: HTMLElement) => {
|
||||
if (type !== "NodeHeading" && ["* ", "- "].includes(editElement.innerHTML.substring(0, 2))) {
|
||||
const id = blockElement.getAttribute("data-node-id")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue