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

Improve export docx support #26

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

jalery922
Copy link

@jalery922 jalery922 commented Dec 16, 2024

  1. 修正canvas-editor编辑文件部分文本换行后value为xxx\n导致下载文件没有换行,举例: 输入"ab",复制"bc"到光标后面,此时光标定位到"ab"后面按下enter,此时值为"ab\n";
  2. 支持内容设置的水平对齐方式,验证了普通文本、标题、表格内容、列表等导出可以正常展示;
  3. 支持用户自定义设置文本像素转化为pt,避免使用word打开的文字大小不匹配(以下为自定义使用)
    image

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.

1 participant