We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
align-to-center
1 parent 44b2c4a commit 62efb29Copy full SHA for 62efb29
features/align-to-center/script.js
@@ -77,7 +77,7 @@ export default async function ({ feature, console }) {
77
let img = document.createElement("img");
78
img.src = feature.self.getResource("center-align");
79
img.className = "ste-align-center";
80
- img.addEventListener("click", function () {
+ img.addEventListener("mousedown", function () {
81
centerAlignText(textarea);
82
});
83
feature.self.hideOnDisable(img);
0 commit comments