[WordPress] 外掛分享: ShortCut and Dummy Text Generator

首頁外掛目錄 › ShortCut and Dummy Text Generator
WordPress 外掛 ShortCut and Dummy Text Generator 的封面圖片
全新外掛
安裝啟用
尚無評分
8 天前
最後更新
問題解決
WordPress 6.5+ PHP 7.4+ v1.0.1 上架:2026-02-03

內容簡介

總結:
這是一個自定義的 Gutenberg 區塊,讓用戶可以使用簡潔的語法快速生成複雜的區塊結構(類似於網頁開發中的 Emmet)。當用戶輸入縮寫並按下 Tab 或 Enter 鍵時:
- 將自動替換為生成的內容(默認行為)
- 在其後插入新區塊(如果啟用)

問題與答案:
<ul>
<li>
<b>如何使用 Lorem Ipsum Generator?</b><br>
要使用 Lorem Ipsum Generator,首先從 WordPress 儀表板安裝該外掛。<br>在 Gutenberg 編輯器中的區塊類別稱為「widgets」中添加 Lorem Ipsum Generator。<br>您可以從右側的設置側邊欄更改區塊設置。
</li>
<li>
<b>這個外掛可以將何種 HTML 轉換為 Gutenberg 區塊?</b><br>
- 段落將被轉換為 core/paragraph<br>
- 表格將被轉換為 core/table<br>
- 列表將被轉換為 core/list<br>
- 標題將被轉換為 core/heading<br>
- 群組將被轉換為 core/group
</li>
<li>
<b>如果需要安裝幫助應該點擊哪個標籤?</b><br>
需要安裝幫助時,應點擊「安裝」標籤。
</li>
<li>
<b>您可以在哪裡提供關於外掛的反饋?</b><br>
您可以提供關於該外掛的喜好、不喜歡或功能請求反饋給我們。
</li>
</ul>

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「ShortCut and Dummy Text Generator」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

ShortCut and Dummy Text Generator is a Gutenberg block that lets you scaffold content at speed. Add the block to any post or page, type an abbreviation — just like Emmet in code editors — and press Tab or Enter. The block immediately expands into proper WordPress core blocks: paragraphs, headings, lists, tables, groups, quotes, and more.
No more clicking through the block inserter to build repetitive layouts. Write ul>li*5>lorem6 and get a five-item list with six words of lorem ipsum per item in one keystroke.
How it works

Add the ShortCut and Dummy Text Generator block anywhere in the Gutenberg editor.
Type an abbreviation in the input field.
Press Tab or Enter.
The block either replaces itself with the generated blocks (default) or inserts the new blocks after itself — controlled by the toggle in the sidebar.

Abbreviation Syntax
Lorem ipsum text

lorem → 20 words of lorem ipsum
lorem5 → 5 words of lorem ipsum

Single elements

p>lorem10 → Paragraph with 10 lorem words
h2>lorem5 → H2 heading with 5 lorem words
h1 through h6 are all supported

Repeating elements
Use *N to repeat a tag N times:

ul>li*3>lorem4 → Unordered list with 3 items, each 4 words
ol>li*4>lorem6 → Ordered list with 4 items, each 6 words
table>tr*3>td*4>lorem3 → Table with 3 rows and 4 columns

Nesting
Use > to nest elements:

group>h2>lorem5 → Group block containing an H2 heading
div>p>lorem20 → Group block containing a paragraph
blockquote>p>lorem15 → Quote block with a paragraph inside

Sibling elements
Use , to create multiple sibling blocks in one go:

h2>My Title, p>lorem20 → An H2 heading followed by a paragraph
h3>lorem4, ul>li*3>lorem5, p>lorem10 → Heading, list, and paragraph

Complex combinations

group>h2>lorem5, p>lorem20 → Group block with a heading and paragraph
table>tr*2>td*3>lorem4 → 2×3 table filled with lorem ipsum

Supported Block Types
Abbreviation tag
Gutenberg block
p
core/paragraph
h1 – h6
core/heading
ul
core/list (unordered)
ol
core/list (ordered)
table
core/table
group / div
core/group
blockquote
core/quote
pre
core/preformatted
Block Settings
Replace block on Tab/Enter (sidebar toggle)

On (default): pressing Tab or Enter replaces this block with the generated blocks.
Off: the generated blocks are inserted into the editor without removing this block, so you can keep typing more abbreviations.

Remove block: click the × button in the top-right corner of the block to delete it from the editor.
Did you like this plugin? Dislike it? Have a feature request? Please share your feedback with us
Check out our other WordPress Plugins
Html5 Audio Player – Best audio player plugin for WordPress.
Html5 Video Player – Best video player plugin for WordPress.
PDF Poster – A fully-featured PDF Viewer Plugin for WordPress.
Document Embedder – Best WordPress Document Embedder Plugin.
3D Viewer – Display interactive 3D models on the web.
Advanced Post Block – Best Post Display Plugin for WordPress.
Developer Notes
Source code is publicly available on GitHub for review, study, and contributions:
https://github.com/bplugins/lorem-ipsum

延伸相關外掛

文章
Filter
Apply Filters
Mastodon