FIX "sup" on mobile

Reported by Dan DeMontmorency on meta
This commit is contained in:
mondiscourse 2023-01-16 18:58:14 +01:00
parent 4401e83c5f
commit 7ff1bf5869
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ api.modifyClass("controller:composer", {
this.get("toolbarEvent").applySurround("<s>", "</s>", "strikethrough_text");
},
superscript() {
this.get("toolbarEvent").applySurround("<sup>", "</sub>", "superscript_text");
this.get("toolbarEvent").applySurround("<sup>", "</sup>", "superscript_text");
},
subscript() {
this.get("toolbarEvent").applySurround("<sub>", "</sub>", "subscript_text");