Skip to content

registerCallback with selectImage stopped working #435

@Arsenalist

Description

@Arsenalist

This is in react:

  import EmailEditor, { UnlayerOptions } from "react-email-editor";

  ...

  const internalOnReady = () => {
    emailEditorRef.current.editor.registerCallback("selectImage", (a, b) =>
      console.log("registering callback"),
    );
  };

  ...

<EmailEditor ref={emailEditorRef} onReady={internalOnReady} />

The selectImage callback is not called when clicking the Image upload button. This used to work fine a few days ago.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions