refac: styling

This commit is contained in:
Timothy Jaeryang Baek committed 2025-07-09 00:05:59 +04:00
1 parent 248fd10406
commit 40a715be89
2 files changed
+22 -13

No files matched your search

@@ -484,7 +484,6 @@
const htmlValue = editor.getHTML();
const jsonValue = editor.getJSON();
console.log(htmlValue, jsonValue);
let mdValue = turndownService
.turndown(
htmlValue
@@ -578,7 +577,7 @@
}
const isInCodeBlock = isInside(['codeBlock']);
const isInList = isInside(['listItem', 'bulletList', 'orderedList']);
const isInList = isInside(['listItem', 'bulletList', 'orderedList', 'taskList']);
const isInHeading = isInside(['heading']);
if (isInCodeBlock || isInList || isInHeading) {