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

View File

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