lexical icon indicating copy to clipboard operation
lexical copied to clipboard

Attach image click listeners to editor root element instead of document

Open cmattick opened this issue 1 year ago • 1 comments

As mentioned in https://github.com/facebook/lexical/issues/3657#issuecomment-1460784076 the fix for issue https://github.com/facebook/lexical/issues/3657 was only applied to checkboxes not images. I have exactly the same problem with images in a react app, where at some point the event propagation is stopped (which i cannot deactivate without getting trouble at other points in the app).

cmattick avatar Feb 08 '24 11:02 cmattick