umodoc / editor

Umo Editor is an open-source document editor, based on Vue3 and Tiptap. Umo Editor 是一个基于 Vue3 和 Tiptap 的适合于国人使用的本土化开源文档编辑器。
https://editor.umodoc.com/en/docs
MIT License
171 stars 30 forks source link

[功能建议]: 希望实现伪分页 #16

Closed zhuyihe closed 1 month ago

zhuyihe commented 2 months ago

你的功能建议是否和某个问题相关?

由于html特殊性 导致类似于word分页过于复杂,现在希望作者能实现伪分页

你希望看到什么解决方案?

1720690804780

你考虑过哪些替代方案?

No response

你有其他上下文或截图吗?

No response

其他说明

No response

意向参与贡献

umodoc commented 2 months ago

@zhuyihe 可以提供具体的实现思路吗

zhuyihe commented 2 months ago

@zhuyihe 可以提供具体的实现思路吗

可以编写一个分页插件 这有个demo可以参考下 https://ckeditor.com/export-to-pdf-word/#pagination

umodoc commented 2 months ago

@zhuyihe 可以提供具体的实现思路吗

可以编写一个分页插件 这有个demo可以参考下 https://ckeditor.com/export-to-pdf-word/#pagination

@zhuyihe 很不幸,在html实现分页确实是一件很麻烦的事情,要考虑各种各样的边际情况,比如图片,表格等各种大块元素的正确分页显示,短期内我们可能不会在实现编辑状态下的分页或者伪分页上投入太多的精力,如果您有好的实现方式,欢迎贡献代码。

zhuyihe commented 2 months ago

@zhuyihe 可以提供具体的实现思路吗

可以编写一个分页插件 这有个demo可以参考下 https://ckeditor.com/export-to-pdf-word/#pagination

@zhuyihe 很不幸,在html实现分页确实是一件很麻烦的事情,要考虑各种各样的边际情况,比如图片,表格等各种大块元素的正确分页显示,短期内我们可能不会在实现编辑状态下的分页或者伪分页上投入太多的精力,如果您有好的实现方式,欢迎贡献代码。

好的 感谢您的回复