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

feat:make the component——editor's history independent #898

Merged
merged 1 commit into from
May 8, 2023

Conversation

HannibalKcc
Copy link
Contributor

原先文本编辑器都是共用一个 editor 组件的,使用了默认的 codeMirror。在不同的 rule 或者 value 之间切换,对编辑器使用撤销或者反撤销会造成非常糟糕的体验。

修改后,它们之间的历史记录将会独立,互不干扰。

BTW——缓存的历史记录目前暂无使用 LRU,也许有必要?

@avwo avwo merged commit edcc53d into avwo:master May 8, 2023
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

Successfully merging this pull request may close these issues.

2 participants