Closed ewuski closed 1 year ago
Ref: INT-3046
@ewuski Can I ask you to provide a minimal example where this problem is reproduced? At codesandbox.io, for example.
I'll try to get the code for you this week.
Do you have an example? At minimum I need to know what handleRteChange
does as it seems that the update problem involves that function being called, it triggering an update which in turns calls that function again recursively. Also I note that you are setting value
to a constant which I assume is just for demo purposes but unfortunately we need to know how that is being set to have any hope of understanding the cause of this problem.
Yes, sorry for the delay. I am very busy. I'll add it for sure.
Hi, I am unable to reproduce this issue at the moment in the current context of our project. I will certainly post an example here if I'll stumble upon this issue again.
Ok, closing now as unreproducable.
If you manage to reproduce the error then reopen the issue or create a new one.
What is the current behavior? I have a dropdown that selects a price item. Upon selecting the price item displays a map of several options. All of its options have a tinymce editor to fill in, eg:
For certain price items upon selection (when the price item is being loaded and editors get displayed) the Editor throws an error in the console and breaks the entire script.
Please provide the steps to reproduce and if possible a minimal demo of the problem via codesandbox.io or similar.
The editor is used within a mapping function. It is a form that have several options and each incudes a tinymce for its own content.
What is the expected behavior?
The script shouldn't break and if there is an issue it should handle the error instead of breaking the entire page.
Which versions of TinyMCE, and which browser / OS are affected by this issue? Did this work in previous versions of TinyMCE or
tinymce-react
?@tinymce/tinymce-react: "^4.2.0" react 18.1.0 Chrome, Firefox, possibly other browsers as well Windows 10