Bekir Gulestan
Bekir Gulestan
in next.js its giving an error about usage of useRef  second error is same
i realised its about strict mode and double invoking when its double invoked (its also means enviroment is in strict mode) its creates double instance and because of that one...
> @dark-swordsman that solved my problem too. However, it would be much better if slate would give us a very clear message about empty content. And I think it should...
are you importing with dynamic feature of next with ssr disabled ? or just with an basic import ? can you show us how you imported ?
Actually i found a very good source for nextjs/app dir implementation for editorjs. https://github.com/shadcn-ui/taxonomy/blob/651f984e52edd65d40ccd55e299c1baeea3ff017/components/editor.tsx
Does it also work for 'display:none' elements?
Makes so much sense