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: setValue后处理img-base64格式防止显示长字符串 #727

Merged
merged 5 commits into from
Mar 6, 2024

Conversation

serializedowen
Copy link
Contributor

使用setValue()写入编辑器内容时没有调用dealSpecialkeyword()导致base64图片以长链接形式显示。输入字符等操作(触发dealSpecialkeyword()后正常)。故单独调用

image

jiawei686 and others added 5 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
@sunsonliu
Copy link
Collaborator

确实~感谢贡献

@sunsonliu sunsonliu merged commit e3f2d3f into Tencent:dev Mar 6, 2024
2 checks passed
jiawei686 added a commit that referenced this pull request Mar 6, 2024
* dev:
  chore(release): v0.8.40
  Fix: setValue后处理img-base64格式防止显示长字符串 (#727)
  fix: #719 增加对工具栏显隐的控制,并增加switchModel的第二个参数
  fix: #721 修复纯预览模式下工具栏配置失效的问题
  fix: #725 拖放文件时,尽可能的走文件上传逻辑
  feat: #724 增加流式会话场景的适配
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.

3 participants