make full auto convert C-m instead of an easily accidentally clicked link

This commit is contained in:
2021-12-17 15:19:39 -07:00
parent f8320ecd34
commit 8e96823c24

View File

@@ -61,6 +61,7 @@
(if e.ctrlKey
(case e.key
("f" (find))
("m" (tryFullAutoConvert))
(otherwise))
(unless activeEditor
(case e.key
@@ -296,7 +297,6 @@
convertLink (document.createElement "a")
xLink (document.createElement "a")
lockLink (document.createElement "a")
fullConvLink (document.createElement "a")
nextBlankLink (document.createElement "a")
blockLinkBefore (document.createElement "a")
blockLinkAfter (document.createElement "a")
@@ -349,9 +349,6 @@
(set nextBlankLink.innerHTML "NextBlank")
(nextBlankLink.addEventListener "click" nextBlankOutput)
(outerDiv.appendChild nextBlankLink)
(set fullConvLink.innerHTML "ConvertAll")
(fullConvLink.addEventListener "click" tryFullAutoConvert)
(outerDiv.appendChild fullConvLink)
(content.appendChild outerDiv)
(content.appendChild (document.createElement "br"))
(content.appendChild blockLinkAfter)