更多富文本编辑选项

富文本工具栏中的“更多选项”菜单为您提供了额外的文本自定义选项。您可以通过点击工具栏中的箭头图标来访问这些额外选项。

Block Toolbar for the paragraph block with an emphasis on the "more rich text options" drop down.
带有“更多富文本选项”下拉菜单的区块工具栏

脚注

脚注”选项会在您的文本中插入注释。这些注释将链接到一个新的区块,该区块将添加到页面底部。您可以在该新区块中添加注释内容,链接将自动添加。

在此处阅读更多关于脚注区块的信息:

高亮

使用“高亮”选项可以更改所选文本的颜色及其背景。

The Highlight option opens a new modal with two tabs: One for text color and one for background.
Each tab has a color picker and a color palette to choose from.
Below the palette there is a button for clearing the color selection.

行内代码

使用“行内代码”功能可以对文本中的代码片段进行不同的格式设置。“行内代码”格式设置还可以防止代码被执行而不是显示。

The inline code option changes the font family of the text and adds a light grey background color to distinguish it from other text content.

行内图像

行内图片”功能允许您将媒体库中的图片添加到文本中。它有一个选项可以输入您想要的图片像素宽度。

When you select the inline image in a Rich Text, the editor opens a modal with an option to enter the image width.

键盘输入

使用“键盘输入”选项允许您将<kbd>标签添加到所选文本。

The keyboard input option changes the font family of the text to distinguish it from other text content.

语言

使用“语言”选项指定所选文本的语言。您需要输入语言缩写(es、en、fr、de)并指定文本方向(从左到右或从右到左)。

Language option settings: Language & Text Direction

删除线

使用“删除线”选项会在所选文本上添加一条线。

The strikethrough option adds a horizontal line across the selected text.

下标

下标”选项允许您为所选文本添加下标。

The subscript option changes the position of the selected text so that it is positioned lower than other text content.

上标

上标”选项允许您为所选文本添加上标。

The superscript option changes the position of the selected text so that it is above other text content.

清除未知格式

在某些情况下,您可能会在区块工具栏中看到“清除未知格式”选项。此选项仅在WordPress检测到区块中存在无法识别的格式时才会出现。选择“清除未知格式”选项将删除影响您内容的任何无法识别的代码。尽管如此,清除未知格式并不是应用其他富文本编辑的必要条件。

例如,当您从Google Docs或Microsoft Word等文档编辑器复制粘贴内容,或者您使用了“更多选项”菜单中的“编辑为HTML”选项时,“清除未知格式”选项可能会出现。

the user is mousing over the Clear Unknown Formatting option in the block toolbar. The text that is selected says 'This text was copied in to WordPress from another location and has some unusual formatting applied.' and it is italicised.

更新日志

  • 更新日期 2023-08-08
    • 添加了脚注和语言
    • 更新了截图
  • 2023-06-08更新,新增了关于“清除未知格式”选项的部分并添加了更新日志。
  • 创建于 2023-05-23

本文是否有帮助?如何改进?

首次发布

最后更新