Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Using two editors in the same repository creates problems #439

Open
bakikucukcakiroglu opened this issue Aug 18, 2024 · 1 comment
Open

Comments

@bakikucukcakiroglu
Copy link

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

@sushilldhakal
Copy link

Maybe you are saving it to you local storage. I did the same thing but its working fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants