I have constructed a PCF react component by wrapping tinyMCE library to get a rich text 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?

Report
All responses (
Answers (