fix: Fixed issue where empty new line in Super would create extra new lines when converting to Markdown

This commit is contained in:
Aman Harwara
2023-05-22 19:28:19 +05:30
parent 7a24b205a7
commit 799945b167
6 changed files with 34 additions and 25 deletions

View File

@@ -1,4 +1,4 @@
import { InvisibleSuperConverter } from '@/Components/SuperEditor/Tools/InvisibleMarkdownConverter'
import { HeadlessSuperConverter } from '@/Components/SuperEditor/Tools/HeadlessSuperConverter'
import {
SNComponent,
ComponentMutator,
@@ -40,7 +40,7 @@ export class DesktopManager
) {
super(application, new InternalEventBus())
const markdownConverter = new InvisibleSuperConverter()
const markdownConverter = new HeadlessSuperConverter()
backups.setSuperConverter(markdownConverter)
}