Skip to content

"editor not found" when using inside modal #65

@martinjuhasz

Description

@martinjuhasz

Hi,

so i used this editor quite a while inside a modal of my ui libary.
when updating create-react-app to the latest react-scripts version (also included a webpack major update), i get an error
editor not found from inside this component.

This is not an issue outside a modal. It doesn't matter if i render the modal initially or not.

I'm using the latest versions of react-scripts, antd, trix and react-trix

I've created codesandbox to illustrate the problem:
https://codesandbox.io/s/elastic-diffie-sovxvb?file=/src/App.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions