strapi-plugin-wysiwyg-toastui icon indicating copy to clipboard operation
strapi-plugin-wysiwyg-toastui copied to clipboard

Strapi 3.6.6 issue

Open hatimmakki opened this issue 3 years ago • 4 comments

The text doesn't load on the text area when I try to edit an entry.

Screen Shot 2021-08-17 at 1 23 24 am

hatimmakki avatar Aug 16 '21 15:08 hatimmakki

Same for me! So frustrating.

danmorley avatar Aug 20 '21 14:08 danmorley

@hatimmakki See this https://github.com/fagbokforlaget/strapi-plugin-wysiwyg-toastui/pull/4 It might solve this problem. This PR lacks contains legacy code hence not merged. If you can help us fixing this issue that would be awesome!

iapain avatar Aug 21 '21 20:08 iapain

Is it safer to use UNSAFE_componentWillRecieveProps for now in that PR?

danmorley avatar Aug 23 '21 08:08 danmorley

@danmorley That will do for now. Ideally, we should use getDerivedStateFromProps however, I am not sure if its already available in react version which comes with strapi admin.

iapain avatar Aug 23 '21 10:08 iapain