refac: styling

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

View File

@@ -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) {