是否有使用 TinyMCE 和 word 等打印布局的在线示例
是否有使用 TinyMCE 与打印布局(如 word)的在线示例,您可以在其中看到每页的末尾?或者是否有另一个内置打印布局的开源所见即所得编辑器?
Is there an online example of using TinyMCE with a print layout like word where you can see the end of each page? Or is there another open source WYSIWYG editor that has a print layout built in?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
TinyMCE 只是用户和您用来生成打印元素的任何过程之间的层。它只是生成 HTML 标记(并且该代码可能非常混乱),并且您需要将 HTML 存储在文件或数据库中。因此,要生成代码的“打印预览”,您需要直接访问 html(并使用打印友好的 css 显示它)。
查看 MarkitUp (http://markitup.jaysalvat.com/home/)。这应该是可定制的,以满足您的打印友好需求。
TinyMCE is just the layer between the user and whatever process you are using to generate the printed element. It just generates HTML markup (and that code can be really messy) and you will need to store the HTML in a file or database. So to generate your "print preview" of the code, you'll need to access the html directly (and display it with print-friendly css).
Check out MarkitUp (http://markitup.jaysalvat.com/home/). This should be customizable to meet your print-friendly needs.
这是 Moxiecode 的官方示例页面。有几个例子,但我担心你的用例在那里找不到。
This the the official example page of Moxiecode. There are several examples, but i fear your use-case is not to be found there.