
內容簡介
Accent Letters 外掛為 WordPress 的區塊編輯器工具列新增一個按鈕,方便用戶插入帶有重音符號的字母,支援 55 種語言的 682 種拉丁字母,提升編輯效率。
【主要功能】
• 插入重音字母的便捷按鈕
• 支援 55 種語言的字母搜尋
• 不影響文章格式的插入方式
• 無需網路連線,無追蹤功能
• 完整開源,易於修改與重建
外掛標籤
開發者團隊
原文外掛簡介
Writing a name, a place or a loan word that needs an accent, and your keyboard does not have it?
Accent Letters adds a button to the block editor toolbar that puts the right character exactly
where the cursor is.
It covers 682 accented Latin letters used across 55 languages, generated from the Unicode
Character Database and CLDR rather than typed by hand, so the names, code points and language lists
are consistent and complete.
Finding a letter
The point of the plugin is not the grid — it is not having to hunt through one. You can search by:
the letter itself, or a plain one: e finds é è ê ë ē ĕ ė ę ě
its name: e acute, o slash, c cedilla
the accent in plain words: two dots finds every diaeresis, little hook finds the ogoneks
the language: Polish, Vietnamese, Turkish — or use the one-click language filters
What it does not do
It does not add markup to your posts. The character is inserted as text, and nothing else changes.
It does not phone home. Nothing is sent anywhere, and there is no tracking, no account and no
upsell.
It does not slow the editor down. The letter data is a separate file that is only fetched the
first time you open the picker, so the editor loads at its normal speed for everyone who never
uses it.
Formatting is preserved: insert an accent in the middle of a bold or linked word and it stays part
of that word instead of breaking the formatting in two.
Source code and build process
This plugin ships its complete, unminified source. build/index.js is generated from the files in
src/, which are included in the plugin so the compiled asset can be read, modified and rebuilt by
anyone.
src/index.js registers the block editor format type and the toolbar button.
src/picker.js is the letter picker UI.
src/insert.js is the caret insertion logic.
src/index.css is the picker stylesheet.
data/letters.json is the letter data, generated from the Unicode Character Database and CLDR.
To rebuild from source, from the plugin directory:
npm install
npm run build
That runs wp-scripts build (from the official @wordpress/scripts package), which compiles src/
into build/. No other build tooling is used, and no third-party libraries are bundled: React and
the WordPress packages are loaded as script dependencies rather than included in the file.
