Skip to content
Discussion options

You must be logged in to vote

Okay, I got it works, just update directly to the ImageNode object.

  if (node && $isImageNode(node)) {
        const imageNode = node as ImageNode
        imageNode.setSrc(payload.src)
  }

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@vadimkantorov
Comment options

Answer selected by viiiprock
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@lpmsh
Comment options

@CanRau
Comment options

@abstractalgo
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants