Google文档克隆 [英] Google Docs clone
问题描述
我目前正在尝试制作一个Google文档协作文档编辑器,并且正在尝试确定应为后端应用哪种技术。
HTML / CSS是非常灵活,更容易实现,但输出是,从我的初始测试,不同,取决于浏览器。理想情况下,我会(主要)完成一切客户端(显示输出,打印等)。
LaTeX似乎是一种可能性,
我要用HTML + CSS。我遇到的问题是打印内容。只有Chrome才会遵守打印期间CSS设置的边距。
解决方案是将其转换为PDF进行打印。 wkhtmltopdf 对此非常有用。
感谢您的帮助。
I'm currently attempting to make a Google Docs-esque collaborative document editor, and I'm trying to decide which technology I should implement for the backend.
HTML/CSS is really flexible and much easier to implement, but the output is, from my initial tests, very different depending on the browser. Ideally, I would have (mostly) everything done clients-side (displaying the output, printing, etc).
LaTeX seems like a possibility, but I don't think outputting a PNG or a PDF would be that fast.
Any other possibilities?
I'm going with HTML + CSS. The issue I had was printing the content. Only Chrome would respect the margins set by the CSS during printing.
The solution was to convert it to a PDF to print. wkhtmltopdf is really useful for that.
Thanks for the help.
这篇关于Google文档克隆的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!