storybookjs / storybook

Storybook is the industry standard workshop for building, documenting, and testing UI components in isolation
https://storybook.js.org
MIT License
83.96k stars 9.22k forks source link

Editor - tinymce is not defined #24045

Open Priyanga-Ashok opened 1 year ago

Priyanga-Ashok commented 1 year ago

Describe the bug

Screenshot 2023-09-01 at 7 11 01 PM

I have tried creating stories for the Editor in tinymce. Even after importing all the files get the above error. Is there any solution to rectify this?

To Reproduce

No response

System

at ./node_modules/tinymce/models/dom/model.js (http://localhost:6006/vendors-node_modules_tinymce_models_dom_model_js.iframe.bundle.js:8048:3)
    at options.factory (http://localhost:6006/runtime~main.iframe.bundle.js:687:31)
    at __webpack_require__ (http://localhost:6006/runtime~main.iframe.bundle.js:28:33)
    at fn (http://localhost:6006/runtime~main.iframe.bundle.js:344:21)
    at ./src/compoments/common/AtsEditor/AtsEditor.stories.js (http://localhost:6006/compoments-common-AtsEditor-AtsEditor-stories.iframe.bundle.js:17:82)
    at options.factory (http://localhost:6006/runtime~main.iframe.bundle.js:687:31)
    at __webpack_require__ (http://localhost:6006/runtime~main.iframe.bundle.js:28:33)
    at fn (http://localhost:6006/runtime~main.iframe.bundle.js:344:21)
    at http://localhost:6006/main.iframe.bundle.js:3478:10

Additional context

No response

awebsterlwolf commented 7 months ago

I am also having this issue is there a known solution for it?