Html 编辑器 - 文本到 HTML 转换器
我想将我的文本转换为 HTML 格式,就像这样:我只需从 word、pdf 中复制粘贴文本 [使用格式和格式]。 color] 到编辑器,它会将其转换为 HTML 标签,这样当我再次解码它时,它会给出与粘贴的格式相同的格式。
我对 PageBreeze 非常满意,但有时它会破坏格式。
还有其他编辑器建议吗?
I want to convert my text into HTML format, it would be just like this: that I just copy paste the text from word, pdf [with formatting & colors] to the editor and it will convert it into HTML tags, so that when I decode it again it would give me the same format that I have pasted.
I am mostly happy with PageBreeze but sometimes it destroys the formatting.
Are there any other editor suggestions?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
虽然我认为这是一个粗略的解决方案,但您可以尝试使用下面即时生成的注释、突出显示、查看源代码并复制它或几乎任何富文本编辑器 Javascript 插件,例如 RTE,我能找到的最简单的。 (我不确定这些是否保留复制粘贴的格式)
但是,您不能保证从此处获得的任何格式(字体/颜色)都会转移到您的网站。除了 HTML 之外,CSS 在样式方面也发挥着重要作用,尤其是文本颜色、突出显示、间距等。
Though I think it's a crude solution, you can try using the on-the-fly generated comment below, highlight, view source and copy it or pretty much any of the Rich Text Editor Javascript plugins out there such as RTE, the simplest I could find. (I'm not sure if those preserves copy-pasted formatting)
However, you won't be assured that any formatting (font/color) you get from here will be carried over to your website. In addition to HTML, CSS plays a huge part in styling, especially text-color, highlighting, spacing, etc.
我认为在Word中你可以做 file > saveas >然而
,它会变得垃圾且令人讨厌。
您最好的选择是学习基本的 HTML(这真的非常简单)并自己手动完成。
I think in word you can do file >saveas > html
However it's going to be junky and nasty.
Your best option is to learn basic HTML (it really is super easy) and manually do it yourself.