konstantinmuenster / lexical-floating-menu

Designed for @lexical/react. Headless & fully-customizable.
https://lexical-floating-menu.vercel.app
MIT License
30 stars 1 forks source link

Could you provide a CodeSandbox for the project? #4

Open bsides opened 5 months ago

bsides commented 5 months ago

Could be any other like Stackblitz.

The example from storybook is not enough to setup a clean project with this. Right now it's throwing an error with the example with FloatingMenu plugin given (returning object instead of a react component). Could you please lend a hand in making it work? Thank you.

EDIT: I just noticed you don't pass the component in Element format like <FloatingMenu /> but as reference (just FloatingMenu)... so maybe that won't be necessary. But I can setup one if you want regardless.