We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b96b05b commit 2efc368Copy full SHA for 2efc368
src/commands/index.ts
@@ -56,6 +56,7 @@ export async function toggleAutoHeadingCommand(opts: {togglingBasedOnFirstBlock:
56
await logseq.Editor.removeBlockProperty(block.uuid, PROPERTY)
57
58
// ensure currently edited content will be saved
59
+ block.content = block.content.replace(/\n?^heading:: true$/m, '')
60
await logseq.Editor.updateBlock(block.uuid, block.content)
61
}
62
0 commit comments