Inline image cannot be reliably selected by clicking on it when text is on the same line #7369
Unanswered
NabilHG
asked this question in
General Questions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hi! I’m using inline images so text can flow on the same line.
When an image is inline and surrounded by text, clicking on most of the image surface places the text cursor instead of selecting the image node. The image only gets selected in very specific cases (for example, when clicking on empty line space).
Expected behavior
Clicking anywhere on the visible surface of an inline image should select the image node (NodeSelection), even when there is text before or after it on the same line.
Related dependency
tiptap-extension-resize-image: ^1.3.2
All reactions