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

Fix: 右侧编辑列表过程中, 输入回车后, 再次编辑此列表, 数据会异常 #751 #772

Merged
merged 10 commits into from
May 24, 2024

Conversation

ufec
Copy link
Collaborator

@ufec ufec commented May 23, 2024

问题的根因是由于回车进行了简单的替换导致,没有考虑到从中间回车的情况

jiawei686 and others added 8 commits January 22, 2024 10:56
* 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 增加流式会话场景的适配
@sunsonliu sunsonliu changed the base branch from main to dev May 24, 2024 01:27
@sunsonliu
Copy link
Collaborator

LGTM

@sunsonliu sunsonliu merged commit fb9d245 into Tencent:dev May 24, 2024
2 checks passed
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]>
@ufec ufec deleted the fix/751 branch June 15, 2024 07:48
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
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants