Update editor, themes, menus, backgrounds, and release tooling
This commit is contained in:
@@ -64,7 +64,7 @@ export class ImagePreview extends WidgetType {
|
||||
const edit = document.createElement("button");
|
||||
edit.type = "button"; edit.className = "image-action";
|
||||
const label = this.editing ? "Hide image source" : "Edit image source";
|
||||
edit.setAttribute("aria-label", label); edit.dataset.tooltip = label;
|
||||
edit.setAttribute("aria-label", label); edit.dataset.editorTooltip = label;
|
||||
edit.append(actionIcon("code"));
|
||||
edit.addEventListener("click", event => { event.preventDefault(); event.stopPropagation(); (this.editing ? actions.done : actions.edit)?.(); });
|
||||
dom.append(edit);
|
||||
|
||||
Reference in New Issue
Block a user