novel icon indicating copy to clipboard operation
novel copied to clipboard

bug: Using two editors in the same repository creates problems

Open bakikucukcakiroglu opened this issue 6 months ago • 1 comments

Provide environment information

System: OS: macOS 14.5 CPU: (11) arm64 Apple M3 Pro Memory: 84.16 MB / 18.00 GB Shell: 5.9 - /bin/zsh Binaries: Node: 20.15.1 - ~/.nvm/versions/node/v20.15.1/bin/node Yarn: 1.22.22 - /opt/homebrew/bin/yarn npm: 10.7.0 - ~/.nvm/versions/node/v20.15.1/bin/npm pnpm: 9.6.0 - ~/.nvm/versions/node/v20.15.1/bin/pnpm

Describe the bug

I used two editors in different pages. Now they work okay but the second editor shows the word count of the first when I run:

editor.storage.characterCount.words()

This is weird because editor.storage.markdown.getMarkdown() gives the correct data.

Link to reproduction

To reproduce

Additional information

No response

bakikucukcakiroglu avatar Aug 18 '24 17:08 bakikucukcakiroglu