Html 编辑器 - 文本到 HTML 转换器

发布于 2024-09-06 02:17:13 字数 177 浏览 2 评论 0原文

我想将我的文本转换为 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

无畏 2024-09-13 02:17:13

虽然我认为这是一个粗略的解决方案,但您可以尝试使用下面即时生成的注释、突出显示、查看源代码并复制它或几乎任何富文本编辑器 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.

我不在是我 2024-09-13 02:17:13

我认为在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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文