plate sometimes creates an "insert_node" operation of type image, and doesn't trigger renderLeaf for it #2481
Unanswered
yuvalshilo
asked this question in
Q&A
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.
-
Description
Sometimes when the user paste image, the editor creates an operation of "insert_node" when node.type is "image".
but for a node of type "image", the renderLeaf function doesn't get triggered..
most of the times, when we paste image, it creates a new operation of "insert_node":

then everything works fine.
but sometimes, (and we have no idea when), it creates an operation of "insert_node" of type image:

when it does that, the renderLeaf function doesn't get triggered for that node.
Beta Was this translation helpful? Give feedback.
All reactions