Mass guide editor changes #18

Merged
Tyler merged 25 commits from guide_editor_changes into main 2026-06-15 15:37:48 +00:00
Showing only changes of commit 420b32c0f8 - Show all commits
+2 -5
View File
@@ -1864,11 +1864,8 @@ class GuideEditor {
}
case 'createLink': {
const selectedText = window.getSelection().toString();
const text = selectedText || window.prompt('Link text');
if (!text) break;
const url = window.prompt('Link URL');
if (!url) break;
document.execCommand('insertText', false, `[${text}](${url})`);
const text = selectedText || 'Text';
document.execCommand('insertText', false, `[${text}](Link)`);
break;
}
case 'removeFormat':