Open bakikucukcakiroglu opened 3 months ago
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
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.
editor.storage.markdown.getMarkdown()
-
No response
Maybe you are saving it to you local storage. I did the same thing but its working fine.
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