0

I have constructed a PowerApps PCF react component by wrapping tinyMCE library to get a rich text editor component for canvas apps. It works perfect while testing in Visual Studio Code, but fails to render editor UI being loaded into Power Apps Studio. It writes:

tinymce.min.js:9 Uncaught TypeError: Promise.allSettled is not a function
at r (tinymce.min.js:9:63402)
at s (tinymce.min.js:9:63751)
at ya.loadScripts (tinymce.min.js:9:63951)
at ya.loadQueue (tinymce.min.js:9:63108)
at MR (tinymce.min.js:9:360088)
at tinymce.min.js:9:395090
at jA.render (tinymce.min.js:9:395106)
at tinymce.min.js:9:403331
at Array.<anonymous> (tinymce.min.js:9:403341)
at Ne (tinymce.min.js:9:5303)

It looks like a react-native error: https://stackoverflow.com/questions/66575667/promise-allsettled-is-not-a-function. How to get rid of this?

It works well in test environment, so I think the question is about appropriate intergity between Power Apps environment (react-native in use?) and tinyMCE library (fail-safe Promise.allSettled usage?). I wonder if someone confirm my assumptions and probably look under the hood there )

0 Answers0