Open Xuhv opened 3 weeks ago
Since the DOM is used directly, SSR does not work properly.
https://github.com/konstantinmuenster/lexical-floating-menu/blob/9073b6bdfa18eb1ead8eb0a8510396bb75954f6b/src/FloatingMenuPlugin.tsx#L14
https://github.com/konstantinmuenster/lexical-floating-menu/blob/9073b6bdfa18eb1ead8eb0a8510396bb75954f6b/src/FloatingMenuPlugin.tsx#L96-L111
I opened a PR #6 , can you check and merge it? I saw that the repository has a github action, so I update the library's version. If the npm token is still valid, The merged code should be automatically released.
Since the DOM is used directly, SSR does not work properly.
https://github.com/konstantinmuenster/lexical-floating-menu/blob/9073b6bdfa18eb1ead8eb0a8510396bb75954f6b/src/FloatingMenuPlugin.tsx#L14
https://github.com/konstantinmuenster/lexical-floating-menu/blob/9073b6bdfa18eb1ead8eb0a8510396bb75954f6b/src/FloatingMenuPlugin.tsx#L96-L111