fixes in ux
This commit is contained in:
@@ -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