FIX: error on mobile javascript

This commit is contained in:
iunctis.fr 2020-08-10 20:03:21 +02:00 committed by GitHub
parent c521c18da4
commit 43f2190a89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -91,9 +91,9 @@ api.modifyClass("controller:composer", {
}, },
floatleft() { floatleft() {
this.get("toolbarEvent").applySurround('[wrap="floatl"]\n', '\n[/wrap]', "float_left_text"); this.get("toolbarEvent").applySurround('[wrap="floatl"]\n', '\n[/wrap]', "float_left_text");
} },
bbcodecolor() { bbcodecolor() {
this.get("toolbarEvent").applySurround('[color=#222]', '[/color]', bbcode_color_text"); this.get("toolbarEvent").applySurround('[color=#222]', '[/color]', "bbcode_color_text");
} }
} }
}); });