Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
lib
react-ag-qeditor
Commits
6ed95857
Commit
6ed95857
authored
May 21, 2026
by
Яков
Browse files
update fix issue
parent
80fe649e
Changes
2
Hide whitespace changes
Inline
Side-by-side
package.json
View file @
6ed95857
{
{
"name"
:
"react-ag-qeditor"
,
"name"
:
"react-ag-qeditor"
,
"version"
:
"1.1.5
6
"
,
"version"
:
"1.1.5
7
"
,
"description"
:
"WYSIWYG html editor"
,
"description"
:
"WYSIWYG html editor"
,
"author"
:
"atma"
,
"author"
:
"atma"
,
"license"
:
"
MIT
"
,
"license"
:
"
MIT
"
,
...
...
src/extensions/Image.jsx
View file @
6ed95857
...
@@ -656,6 +656,9 @@ const ResizableImageTemplate = ({ node, updateAttributes, editor, getPos, select
...
@@ -656,6 +656,9 @@ const ResizableImageTemplate = ({ node, updateAttributes, editor, getPos, select
style
=
{
getInnerStyle
()
}
style
=
{
getInnerStyle
()
}
onClick
=
{
handleNodeClick
}
onClick
=
{
handleNodeClick
}
onTouchEnd
=
{
(
e
)
=>
{
onTouchEnd
=
{
(
e
)
=>
{
// Если тап на кнопке/интерактивном элементе — не перехватываем,
// иначе click на кнопках не сработает.
if
(
e
.
target
.
closest
(
'
button, a, input, [role="button"]
'
))
return
;
e
.
preventDefault
();
e
.
preventDefault
();
try
{
try
{
const
pos
=
getPos
?.();
const
pos
=
getPos
?.();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment