-
Notifications
You must be signed in to change notification settings - Fork 426
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
Fix: 右侧编辑列表过程中, 输入回车后, 再次编辑此列表, 数据会异常 #751 #772
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* dev: chore(release): v0.8.37 fix: 去掉冒号的联想 fix: Tencent#683 themeNamespace 没有应用到cherry的外层容器 fix: 引入mathjax safe组件,防止通过mathjax引入xss注入 chore(release): v0.8.36 # Conflicts: # CHANGELOG.md # dist/cherry-markdown.core.common.js # dist/cherry-markdown.core.js # dist/cherry-markdown.css # dist/cherry-markdown.engine.core.common.js # dist/cherry-markdown.engine.core.esm.js # dist/cherry-markdown.engine.core.js # dist/cherry-markdown.esm.js # dist/cherry-markdown.js # dist/cherry-markdown.js.map # dist/cherry-markdown.min.css # dist/cherry-markdown.min.js # dist/fonts/ch-icon.eot # dist/fonts/ch-icon.ttf # dist/fonts/ch-icon.woff # dist/fonts/ch-icon.woff2 # package.json
* dev: chore(release): v0.8.38 fix: 联想功能支持多实例 fix: 修复自定义keyword覆盖问题 (Tencent#705) doc: 更新API文档 feat: Tencent#703 增加动态重置工具栏的API feat: Tencent#702 提供销毁函数 feat: 优化联想的选中逻辑,默认不选中任意选项,不影响回车键
* dev: chore(release): v0.8.39 feat(client): add file right-click menu to `*.md` and directly read file content (Tencent#717) fix: Tencent#461 修复全屏时编辑区和预览区中间分割线拖拽位置错位的问题 fix: Tencent#681 修复粘贴图片会出现两张图片的情况 fix: Tencent#681 修复粘贴图片会出现两张图片的情况 fix: Tencent#710 修复粘贴多个文件时只能上传一个文件的问题 feat: Tencent#707 提供滚动到对应锚点的api
* dev: chore(release): v0.8.40 Fix: setValue后处理img-base64格式防止显示长字符串 (Tencent#727) fix: Tencent#719 增加对工具栏显隐的控制,并增加switchModel的第二个参数 fix: Tencent#721 修复纯预览模式下工具栏配置失效的问题 fix: Tencent#725 拖放文件时,尽可能的走文件上传逻辑 feat: Tencent#724 增加流式会话场景的适配
LGTM |
sunsonliu
pushed a commit
that referenced
this pull request
May 27, 2024
* chore(release): v0.8.36 * fix: 右侧编辑列表过程中, 输入回车后, 再次编辑此列表, 数据会异常 #751 * fix: remove console.log * fix: ignore event.target.innerText type error * fix: ignore event.target.innerText type error --------- Co-authored-by: jiawei686 <[email protected]> Co-authored-by: humyfred <[email protected]>
sunsonliu
pushed a commit
that referenced
this pull request
Jun 24, 2024
* chore(release): v0.8.36 * fix: 右侧编辑列表过程中, 输入回车后, 再次编辑此列表, 数据会异常 #751 * fix: remove console.log * fix: ignore event.target.innerText type error * fix: ignore event.target.innerText type error --------- Co-authored-by: jiawei686 <[email protected]> Co-authored-by: humyfred <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
问题的根因是由于回车进行了简单的替换导致,没有考虑到从中间回车的情况