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
fe688702
Commit
fe688702
authored
May 21, 2026
by
Яков
Browse files
update fix issue
parent
5e84f9a6
Changes
2
Hide whitespace changes
Inline
Side-by-side
package.json
View file @
fe688702
{
{
"name"
:
"react-ag-qeditor"
,
"name"
:
"react-ag-qeditor"
,
"version"
:
"1.1.5
3
"
,
"version"
:
"1.1.5
4
"
,
"description"
:
"WYSIWYG html editor"
,
"description"
:
"WYSIWYG html editor"
,
"author"
:
"atma"
,
"author"
:
"atma"
,
"license"
:
"
MIT
"
,
"license"
:
"
MIT
"
,
...
...
src/extensions/Image.jsx
View file @
fe688702
...
@@ -652,7 +652,16 @@ const ResizableImageTemplate = ({ node, updateAttributes, editor, getPos, select
...
@@ -652,7 +652,16 @@ const ResizableImageTemplate = ({ node, updateAttributes, editor, getPos, select
ref
=
{
wrapperRef
}
ref
=
{
wrapperRef
}
style
=
{
getInnerStyle
()
}
style
=
{
getInnerStyle
()
}
onClick
=
{
handleNodeClick
}
onClick
=
{
handleNodeClick
}
onTouchEnd
=
{
(
e
)
=>
{
e
.
preventDefault
();
handleNodeClick
(
e
);
}
}
onTouchEnd
=
{
(
e
)
=>
{
e
.
preventDefault
();
try
{
const
pos
=
getPos
?.();
if
(
typeof
pos
===
'
number
'
)
{
editor
.
view
.
focus
();
editor
.
commands
.
setNodeSelection
(
pos
);
}
}
catch
(
err
)
{}
}
}
>
>
{
imageContent
}
{
imageContent
}
</
div
>
</
div
>
...
...
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