tinymce / tinymce-react

Offical TinyMCE React component
MIT License
937 stars 152 forks source link

About this.elementRef.current?.OwnerDocument.DefaultView question #528

Open hlongc opened 1 month ago

hlongc commented 1 month ago

When I look at the source code, I have a question about the view value here, why pass this.elementRef.current?.OwnerDocument.DefaultView to obtain it and window for the most part are the same, but if the window after the Proxy agent, the two are not the same, what is the suitable scene is ownerDocument.DefaultView?

version: 4.3.0 file path:src/main/ts/components/Editor.tsx

view
tiny-stale-bot commented 1 week ago

This issue is stale because it has been open 30 days with no activity. Please comment if you wish to keep this issue open or it will be closed in 7 days.

danoaky-tiny commented 1 week ago

Hi, would you be able to further clarify what your issue or question is?