Title: Custom Text Formats
Author: cyberduck
Published: <strong>2023 年 10 月 6 日</strong>
Last modified: 2024 年 4 月 30 日

---

搜尋外掛

![](https://ps.w.org/custom-text-formats/assets/banner-772x250.jpg?rev=3079390)

這個外掛**並未在最新的 3 個 WordPress 主要版本上進行測試**。開發者可能不再對這個
外掛進行維護或提供技術支援，並可能會與更新版本的 WordPress 產生使用上的相容性問題。

![](https://ps.w.org/custom-text-formats/assets/icon-256x256.jpg?rev=2978151)

# Custom Text Formats

 由 [cyberduck](https://profiles.wordpress.org/cyberduck/) 開發

[下載](https://downloads.wordpress.org/plugin/custom-text-formats.1.1.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/custom-text-formats/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/custom-text-formats/#reviews)
 * [開發資訊](https://tw.wordpress.org/plugins/custom-text-formats/#developers)

 [技術支援](https://wordpress.org/support/plugin/custom-text-formats/)

## 外掛說明

Custom Text Formats lets you add custom text formats to the Gutenberg Editor. Register
a new format by adding a class to a chosen tag and add a format icon. There are 
several to choose from but you can also add your own. You can set the format as 
a regular selection wrap but you can also render out content in a single block, 
like an icon or other text or html content. Then add css styling to the class to
control the behavior of the text format. You can use different css for backend and
frontend.

### Not for the code allergic

This plugin requires basic css and html skills so if you are allergic to code, this
plugin is not for you.

### Suggestions and opinions

**If you like this plugin, I would be really happy if you would rate and review 
it!** If you don’t like it and/or have ideas and suggestions for improvement, please
let me know in the support forum.

## 螢幕擷圖

[⌊Example of a preamble text format.⌉⌊Example of a preamble text format.⌉[

Example of a preamble text format.

[⌊The preamble text format in editor view.⌉⌊The preamble text format in editor view
.⌉[

The preamble text format in editor view.

[⌊Example of a yellow marker text format.⌉⌊Example of a yellow marker text format
.⌉[

Example of a yellow marker text format.

[⌊The yellow marker text format in editor view.⌉⌊The yellow marker text format in
editor view.⌉[

The yellow marker text format in editor view.

[⌊Example of a Award Icon text format. This is an example of a single content format.
Instead of wrapping a text selection, you just place the cursor where you want the
content and click the format button, and the content, in this case an award icon,
will be placed at thecursor position.⌉⌊Example of a Award Icon text format. This
is an example of a single content format. Instead of wrapping a text selection, 
you just place the cursor where you want the content and click the format button,
and the content, in this case an award icon, will be placed at thecursor position
.⌉[

Example of a Award Icon text format. This is an example of a single content format.
Instead of wrapping a text selection, you just place the cursor where you want the
content and click the format button, and the content, in this case an award icon,
will be placed at thecursor position.

[⌊The award icon text format in editor view.⌉⌊The award icon text format in editor
view.⌉[

The award icon text format in editor view.

## 使用者評論

![](https://secure.gravatar.com/avatar/70cf965192754e8b2b5011aab9a75cad90dc8715797a3f72c39f1cc5ae64b9d8?
s=60&d=retro&r=g)

### 󠀁[would be good if…](https://wordpress.org/support/topic/would-be-good-if/)󠁿

 [donpi73](https://profiles.wordpress.org/donpi73/) 2024 年 6 月 14 日

it's a good plugin but I have to give up using it because it also loads jquery on
the frontend of my site and I absolutely don't want it. Couldn't it be avoided? 
Also because I don't think it's necessary for the frontend

![](https://secure.gravatar.com/avatar/06cbfe27fa2d3ac250bedd2365680c3dedac40f580056143cfbeb7dd82512557?
s=60&d=retro&r=g)

### 󠀁[Excellent](https://wordpress.org/support/topic/excellent-13328/)󠁿

 [darri](https://profiles.wordpress.org/darri/) 2024 年 3 月 27 日

So simple and powerful. Allows editors to quickly add custom styling to any text
element using a user-friendly dropdown in Gutenberg, something which should really
be in Gutenberg by default. Was having issues with it not styling on the admin side,
so knocked a star off for that. One other thing I noticed was that it isn't discovered
by WPCore Plugin Manager which I use to keep plugins synced across development environments.
All my other active plugins are discovered, so maybe something needs tweaked to 
make this work. Apart from that it's totally amazing, thanks Ola! Feature request:
would be nice to be able to add a style format to other elements apart from text.
I find that sometimes editors want to style a group or other container element.

![](https://secure.gravatar.com/avatar/b5bc2f43035bface06398cdf41ff70b55293142c0fbbbe3fd63a583cd7573a22?
s=60&d=retro&r=g)

### 󠀁[Exactly what I needed!](https://wordpress.org/support/topic/exactly-what-i-needed-948/)󠁿

 [brit77](https://profiles.wordpress.org/brit77/) 2024 年 3 月 6 日

I agree with the previous reviewer…really a hidden gem! I had to search through 
many pages of search engine results before I found it. I had been delaying moving
over 100% to the Block Editor on one of my sites because of the many custom formats
I had created for the non-technical user. I'd used PHP and the Advanced TinyMCE 
plugin to add the formats to the editor, but they were only accessible via the Classic
editor and Classic blocks. We've been slowly switching posts to the Block editor
and converting Classic blocks. I was able to replace some of the custom formats 
with reusable Patterns. But inline formats posed a problem. I did not look forward
to manually updating every instance or having to train the user how to add CSS classes
via the HTML view. This plugin solves this problem for me, and I am very grateful!
It is simple, easy to use, and just works. You've made my life a little bit easier.
Thank you for making this available!

![](https://secure.gravatar.com/avatar/8a646ec4cc23b15fd8c313644fc305f84a2fa68b215e1308380cc8d9d25abfef?
s=60&d=retro&r=g)

### 󠀁[A Hidden Gem](https://wordpress.org/support/topic/a-hidden-gem-14/)󠁿

 [Tim in Seattle](https://profiles.wordpress.org/theframeguy/) 2023 年 11 月 28 
日

This simple feature plugin allows me to set complex styling up for non-technical
users to easily use. This is one of those plugins I consider a "hidden gem."

 [ 閱讀全部 4 則使用者評論 ](https://wordpress.org/support/plugin/custom-text-formats/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈Custom Text Formats〉的開發相關工作。

參與者

 *   [ cyberduck ](https://profiles.wordpress.org/cyberduck/)

〈Custom Text Formats〉外掛目前已有 2 個本地化語言版本。 感謝[全部譯者](https://translate.wordpress.org/projects/wp-plugins/custom-text-formats/contributors)
為這個外掛做出的貢獻。

[將〈Custom Text Formats〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/custom-text-formats)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/custom-text-formats/)、
查看 [SVN 存放庫](https://plugins.svn.wordpress.org/custom-text-formats/)，或透過
[RSS](https://plugins.trac.wordpress.org/log/custom-text-formats/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/custom-text-formats/)。

## 變更記錄

#### 1.1

 * Fixed custom icons bug – Thanks darri
 * Minor descriptive text changes

## 中繼資料

 *  版本 **1.1**
 *  最後更新 **2 年前**
 *  啟用安裝數 **70+**
 *  WordPress 版本需求 ** 6.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **6.5.12**
 *  語言
 * [English (US)](https://wordpress.org/plugins/custom-text-formats/)、[French (France)](https://fr.wordpress.org/plugins/custom-text-formats/)、
   及 [Swedish](https://sv.wordpress.org/plugins/custom-text-formats/).
 *  [將這個外掛本地化為你的母語版本](https://translate.wordpress.org/projects/wp-plugins/custom-text-formats)
 * 標籤:
 * [customize](https://tw.wordpress.org/plugins/tags/customize/)[gutenberg editor](https://tw.wordpress.org/plugins/tags/gutenberg-editor/)
 *  [進階檢視](https://tw.wordpress.org/plugins/custom-text-formats/advanced/)

## 評分

 4.3 星，滿分為 5 星

 *  [  2 個 5 星使用者評論     ](https://wordpress.org/support/plugin/custom-text-formats/reviews/?filter=5)
 *  [  1 個 4 星使用者評論     ](https://wordpress.org/support/plugin/custom-text-formats/reviews/?filter=4)
 *  [  1 個 3 星使用者評論     ](https://wordpress.org/support/plugin/custom-text-formats/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/custom-text-formats/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/custom-text-formats/reviews/?filter=1)

[撰寫評分](https://wordpress.org/support/plugin/custom-text-formats/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/custom-text-formats/reviews/)

## 參與者

 *   [ cyberduck ](https://profiles.wordpress.org/cyberduck/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/custom-text-formats/)