style: add parenthesis

This commit is contained in:
kotaindah55 2025-02-06 21:39:54 +02:00
parent 9f0b32a2b3
commit e603637b1b

View file

@ -45,7 +45,7 @@ export class ColorButton extends WidgetType {
let btn = document.createElement("span");
btn.setAttribute("aria-hidden", "true");
btn.className = "cm-highlight-color-btn";
btn.onclick = evt => {
btn.onclick = (evt) => {
view.dispatch({
selection: {
anchor: this.colorTag.from,