tinymce-react icon indicating copy to clipboard operation
tinymce-react copied to clipboard

Did I not update the initValue settings in time?

Open hexiaochen666 opened this issue 3 years ago • 2 comments

image

At first, it was undefined. After refreshing, the initial value was available, but it was not updated?

hexiaochen666 avatar Sep 26 '22 03:09 hexiaochen666

Ref: INT-3019

exalate-issue-sync[bot] avatar Sep 26 '22 03:09 exalate-issue-sync[bot]

Ref: INT-3019

I'm sorry, I don't understand what you mean. Could you be more specific?

hexiaochen666 avatar Sep 26 '22 03:09 hexiaochen666

Can you post your editor configuration? Also which version of the integration are you using? Which version of TinyMCE are you using?

The initialValue prop can be set asynchronously since version 3.11.0 of the integration, prior to that it had to be set before initializing the editor.

tiny-james avatar Oct 24 '22 07:10 tiny-james

Here is an example of setting the initialValue after the editor has loaded: https://codesandbox.io/s/asynchronous-initial-value-uh75r4

tiny-james avatar Oct 24 '22 07:10 tiny-james

Since there has been no reply in a week I am closing this on the assumption it is resolved.

tiny-james avatar Nov 02 '22 04:11 tiny-james