
.docx 导入 Excel
您喜欢使用 Microsoft Word 而不是 WordPress 进行写作吗?想要在 WordPress 中导入 .docx 文档,而不是复制/粘贴(这通常会弄乱格式)?在本文中,我们将向您展示如何在 WordPress 中导入 .docx 文档。
您更喜欢使用 Microsoft Word 而非 WordPress 进行写作?想要在 WordPress 中导入 .docx 文档,而不是使用通常会产生混乱格式的复制/粘贴吗?在本文中,我们将向您展示如何在 WordPress 中导入 .docx 文档。

为什么以及何时需要在WordPress中正确导入.docx文件? (Why and When You Need to Properly Import .docx Files in WordPress?)
Some users prefer to write their articles in Microsoft Word, which comes with a built-in spell check, thesaurus, templates, styles and formatting. The default WordPress 可视化编辑器 does not offer all these features.
一些用户更喜欢用Microsoft Word撰写文章,该文章带有内置的拼写检查,同义词库,模板,样式和格式。 默认的WordPress 可视化编辑器不提供所有这些功能。
Another possible usage scenario is guest blogging. If you do not want to give 客座作者 access to your WordPress 管理区, then they often send their guest posts either in plain HTML or a .docx document.
另一个可能的使用情况是访客博客。 如果您不想让客座作者访问您的WordPress 管理区 ,那么他们通常会以纯HTML或.docx文档的形式发送访客帖子。
最后,您可能已经在 .docx 文档中保存了一些内容。从 docx 复制和粘贴可能很困难,尤其是当您必须从多个文档复制内容时。
最后,您可能已将一些内容保存在 .docx 文档中。从 docx 复制和粘贴可能很困难,尤其是当您必须从多个文档复制内容时。
话虽如此,让我们看看如何在 WordPress 中正确导入 .docx 文档而不破坏格式。
话虽如此,让我们看看如何在 WordPress 中正确导入 .docx 文档而不破坏格式。
在WordPress中导入.docx文档 (Importing .docx Documents in WordPress)
First thing you need to do is install and activate the 猛犸象 .docx 转换器 plugin. For more details, see our step by step guide on 如何安装 WordPress 插件.
您需要做的第一件事是安装并激活猛犸象 .docx 转换器插件。 有关更多详细信息,请参阅有关如何安装 WordPress 插件步指南。
激活后,您需要创建新帖子或编辑现有帖子。在帖子编辑屏幕上,您将在帖子编辑器下方找到 Mammoth .docx 转换器元框。
激活后,您需要创建新帖子或编辑现有帖子。在帖子编辑屏幕上,您将在帖子编辑器下方找到 Mammoth .docx 转换器元框。

只需单击“选择文件”按钮即可从计算机中选择 .docx 文件。
只需单击“选择文件”按钮即可从计算机中选择 .docx 文件。
一旦您选择 .docx 文件,该插件就会向您显示文档的三个视图。在“视觉”选项卡中,您将看到文档在 WordPress 中的外观。
选择 .docx 文件后,插件将向您显示文档的三个视图。在“视觉”选项卡中,您将看到文档在 WordPress 中的外观。

您会注意到,它会忽略应用于 .docx 文档的任何样式,例如文本颜色、背景颜色、填充、边距等。相反,它会让主题的样式表控制如何显示这些内容。
您会注意到,它将忽略应用于 .docx 文档的任何样式,例如文本颜色、背景颜色、填充、边距等。相反,它将让主题的样式表控制此内容的显示方式。
您还可以通过单击原始 HTML 按钮查看转换器生成的 HTML。您可以单击消息按钮查看转换过程中是否有任何警告或错误。
您还可以通过单击“原始 HTML”按钮查看转换器生成的 HTML。您可以单击消息按钮查看转换过程中是否有任何警告或错误。
If you are satisfied with how the document looks in the visual tab, then you can click on the ‘插入编辑器’ button. The plugin will insert converted HTML into your WordPress post editor.
如果您对可视化选项卡中的文档外观感到满意,则可以单击“插入编辑器”按钮。 该插件会将转换后HTML插入WordPress帖子编辑器。
You can continue to work on the post. If you are new to WordPress, then you may want to see our guide on how to 在 WordPress 中添加新帖子并利用所有功能。
您可以继续处理该帖子。 如果您不熟悉WordPress,则可能需要查看我们的指南,了解如何在 WordPress 中添加新帖子并利用所有功能。
Mammoth .docx 转换器插件可将 .docx 文件转换为与 WordPress 兼容的干净 HTML 格式。目前,该插件支持以下功能:
Mammoth .docx 转换器插件可将 .docx 文件转换为与 WordPress 兼容的纯 HTML 格式。目前,该插件支持以下功能:
- Headings like Heading 1, Heading 2, are converted into h1,h2, etc. 诸如标题1,标题2之类的标题将转换为h1,h2等。
- Lists 清单
- Tables are imported without formating like border and cell colors 导入表格时不设置格式,例如边框和单元格颜色
- Plain HTML formating like bold, italic, superscript, and subscript 纯HTML格式,例如粗体,斜体,上标和下标
- Images embedded in document are imported into WordPress 文档中嵌入的图像将导入到WordPress中
- Links 链接
- Textboxes are converted into plain paragraphs 文本框将转换为普通段落
该插件不会对您的原始 .docx 文档进行任何更改,甚至不会将其存储在您的 WordPress 网站上。
该插件不会对您的原始 .docx 文档进行任何更改,甚至不会将其存储在您的 WordPress 网站上。
We hope this article helped you import .docx documents in WordPress. You may also want to see our guide on how to 在 WordPress 中嵌入 PDF、电子表格和其他文档.
我们希望本文能帮助您在WordPress中导入.docx文档。 您可能还希望查看我们的指南,了解如何在 WordPress 中嵌入 PDF、电子表格和其他文档 。
If you liked this article, then please subscribe to our YouTube 频道 for WordPress video tutorials. You can also find us on 推特 and Facebook.
如果您喜欢这篇文章,请订阅我们的YouTube 频道 WordPress视频教程。 您也可以在推特和Facebook上找到我们。
翻译自: https://www.wpbeginner.com/plugins/how-to-import-docx-documents-in-wordpress/
.docx 导入 Excel