This commit is contained in:
Mateusz Gruszczyński
2026-07-20 15:59:15 +02:00
parent 771494671b
commit dfa0828c38
42 changed files with 964 additions and 755 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ export function applyFormat(editor, format) {
if (format === "bullet") prefix("- ");
if (format === "number") prefix((index) => `${index + 1}. `);
if (format === "quote") prefix("> ");
if (format === "link") wrap("[", "](https://)", "opis linku");
if (format === "link") wrap("[", "](https://)", "description");
editor.focus();
editor.dispatchEvent(new Event("input", { bubbles: true }));
}