fixes in ux
This commit is contained in:
1 parent
f5292aefd6
commit
867e2be96b
6 files changed
+69
-9
No files matched your search
@@ -13,7 +13,10 @@ export function applyFormat(editor, format) {
|
||||
if (format === "bold") wrap("**");
|
||||
if (format === "italic") wrap("*");
|
||||
if (format === "strike") wrap("~~");
|
||||
if (format === "heading") prefix("## ");
|
||||
if (format === "heading" || format === "heading2") prefix("## ");
|
||||
if (format === "heading1") prefix("# ");
|
||||
if (format === "heading3") prefix("### ");
|
||||
if (format === "heading4") prefix("#### ");
|
||||
if (format === "bullet") prefix("- ");
|
||||
if (format === "number") prefix((index) => `${index + 1}. `);
|
||||
if (format === "quote") prefix("> ");
|
||||
|
||||
Reference in new issue
Block a user