You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Thank you for creating this. When clicking the left, right, center, full buttons to move / adjust an image using the toolbar, it attempts to change inputs on my page. Each time I click left, right, center, or full, it moves to the next input on my page. I'm using a configuration like you have in the demo.
resize: {
// set embed tags to capture resize
embedTags: ["VIDEO", "IFRAME"],
// custom toolbar
tools: [
"left",
"center",
"right",
"full",
"edit",
{
text: "Alt",
verify(activeEle) {
return activeEle && activeEle.tagName === "IMG";
},
handler(evt, button, activeEle) {
let alt = activeEle.alt || "";
alt = window.prompt("Alt for image", alt);
if (alt == null) return;
activeEle.setAttribute("alt", alt);
},
},
],
},