Skip to content

How do I insert a base64 image into the editor? #83

Discussion options

You must be logged in to vote

To clarify, the example on the Editor.toDataURL page shows how to:

  • Load a PNG image from a data URL and add it to the editor (using ImageComponent).
  • Add a toolbar button that:
    • Converts the editor to a base64 data URL.
    • Adds that as an image to the editor.

Replies: 1 comment 3 replies

Comment options

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

@personalizedrefrigerator
Comment options

Answer selected by PineSongCN
@PineSongCN
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
2 participants