fagbokforlaget / strapi-plugin-wysiwyg-toastui

ToastUI wysiwyg plugin for strapi
MIT License
43 stars 13 forks source link

wysiwyg field not populated #3

Open promentus opened 3 years ago

promentus commented 3 years ago

After saving and refreshing a page with TOAST the wysiwyg field is not populated. The content is visible in the front end (API). Any idea to solve this problem? I am running strapi 3.4.5.

hongsw commented 3 years ago

v3.3.4 is working

sergeystoma commented 3 years ago

Seems like there is a timing issue between the editor initialization and the moment when the markdown value is set by Strapi. This fix seems to be working for me, not sure if that's the proper way of handling the situation though:

https://github.com/sergeystoma/strapi-plugin-wysiwyg-toastui/commit/227ac09ccad9b5fa8e3114135b23a6f32ce4626c

iapain commented 3 years ago

@sergeystoma Could you please send us a PR?