Commit 6ed95857 authored by Яков's avatar Яков
Browse files

update fix issue

parent 80fe649e
{
"name": "react-ag-qeditor",
"version": "1.1.56",
"version": "1.1.57",
"description": "WYSIWYG html editor",
"author": "atma",
"license": "MIT",
......
......@@ -656,6 +656,9 @@ const ResizableImageTemplate = ({ node, updateAttributes, editor, getPos, select
style={getInnerStyle()}
onClick={handleNodeClick}
onTouchEnd={(e) => {
// Если тап на кнопке/интерактивном элементе — не перехватываем,
// иначе click на кнопках не сработает.
if (e.target.closest('button, a, input, [role="button"]')) return;
e.preventDefault();
try {
const pos = getPos?.();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment