Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using RichText Component in React Module causing Content Editor to crash #60

Open
DennisKraaijeveld opened this issue May 30, 2024 · 1 comment

Comments

@DennisKraaijeveld
Copy link

Hi! Whenever I want to add or edit content inside a module which uses the RichtText component it's causing a crash inside the editor

[ERROR] Couldn't find module in widgetInRichText slice(anonymous) @ app.js:1
[ERROR] Couldn't find module in widgetInRichText slice @project.js:1

Is this a known issue? For now it's not useable and will use dangerouslysetinnerhtml

@jontallboy
Copy link
Contributor

@DennisKraaijeveld I am unable to reproduce this issue on my side. Can you provide code samples of your rich text module? This will allow me to debug further. Additionally, we have this RichText module example within this repo, if that is helpful for you to compare your code against.

Below is what I am seeing with a RichText react module in the page editor:

react-richtext-example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants