milkdown-lab
milkdown-lab copied to clipboard
splitscreen re-create bug
When I re-creaete the editor I get the following error:
It’s like one of the modules does not have a rules property but instead a getRules() method:
Repro:
- https://stackblitz.com/~/github.com/mateothegreat/milkdown-lab-splitscreen-repro?file=src/main.ts:L11
- https://github.com/mateothegreat/milkdown-lab-splitscreen-repro/blob/main/src/main.ts#L12
Any tips or pointers?
maybe milkdown has some breakchange, i'll take a look
thx to @niko-ng now this should fixed in v1.3.1
I didn't see there was an issue about that from 2 weeks ago 😅 It is the exact same issue. You can close it. @mateothegreat can you confirm that the latest release fixes it?