-
Notifications
You must be signed in to change notification settings - Fork 4
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: 重构 chart 能力 #28
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
chenshuai2144
added a commit
that referenced
this pull request
Jan 14, 2025
* 添加对 Python 语言的支持,并更新代码高亮配置以接受额外语言参数 * 1.12.28 * 添加带有错误处理功能的图片组件,加载失败时显示可点击链接 * 1.12.29 * 更新图片组件错误处理,加载失败时显示替代文本或链接 * 添加 blob-util 依赖,优化 Markdown 编辑器的粘贴功能,增强对 RTF 格式的支持 * 添加 copy-to-clipboard 依赖,并实现复制选中文本块的功能 * 1.12.30 * 优化媒体文件上传功能,支持 blob URL 转换为文件并上传 * 优化上传文件逻辑,修复 fragment.url 和 downloadUrl 的赋值顺序 * 移除媒体元素选择时的错误处理逻辑 * 调整表格组件样式,优化行列侧边框和交点的尺寸及位置 * 优化Markdown编辑器样式,调整列表、段落和标题的边距与填充 * 优化Markdown编辑器样式,为图表和卡片添加上下边距 * 1.12.31 * 移除不必要的 data-ignore-slate 属性,并在表格组件中添加 data-slate-editor 属性 * feat: 重构 chart 能力 (#28) * 新增图表组件及相关工具,优化图表属性设置和样式 * 新增motion依赖,优化图表组件的初始化逻辑,重构相关代码以提高可读性和性能 * 新增useGetSetState工具函数,优化InsertLink组件的代码结构 * 优化Markdown编辑器的布局和图表组件的尺寸调整逻辑,提高可读性和性能 * 新增对window.matchMedia的模拟,以支持测试环境中的媒体查询 * 优化Markdown编辑器的代码结构,重构InsertLink和TocHeading组件,修复媒体查询逻辑,提升可读性和性能 * 清理Markdown编辑器代码,移除未使用的editorProps属性,优化快照测试中的类名 * 优化Markdown编辑器,统一使用editorProps,提升代码可读性和一致性 * 优化Markdown编辑器的性能,重构组件以提升可读性和一致性 * 为测试用例添加ConfigProvider,以支持Ant Design主题配置 * 1.13.0 * feat: 重构图表组件,统一属性类型并添加索引支持 * 1.13.1 * feat: 添加新的演示代码并扩展图表下拉菜单选项 * 1.13.2 * 优化渲染方式 * feat: 添加对表格单元格和行的默认渲染处理 * feat: 添加图表组件的清理和重初始化逻辑 * feat: 调整图表容器的尺寸计算逻辑以支持动态索引 * 1.13.3 * 调整表格组件样式,优化选中单元格和交点的背景色及尺寸 --------- Co-authored-by: qixian.cs <[email protected]> Co-authored-by: chenshuai2144 <[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.
No description provided.