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

Abbreviation button for TinyMCE

外掛說明

This plugin should be used to supply abbreviation support in the TinyMCE visual editor. Once activated, it provides an “ABR” button which allows editor to indicate the meaning of each abbreviation used in Pages, Posts or any custom post types used in your WordPress installation. The markup is fully compatible with accessibility rules like Web Content Accessibility Guidelines (WCAG). It uses <abbr>…</abbr> HTML markup instead of the deprecated <acronym>…</acronym> HTML markup.

Available languages

  • English
  • French

You can add your own language pack: contribute here! Contributors will be linked back here.
Search Plugins > Abbreviation button for tinymce and add your translations. Many strings are commented to help you to understand context.

Credits

Jean-Baptiste Audras, WordPress projects manager at Whodunit and WordPress developer. @audrasjb on Twitter or Github.

螢幕擷圖

  • the ABR button in your TinyMCE visual editor (second line of buttons).
  • the popup used to give the meaning of your abbreviation and optionally it’s language.

安裝方式

English:
1. Upload the plugin to the ‘/wp-content/plugins/’ directory
2. Activate the plugin through the ‘Plugins’ menu in WordPress
3. Use it in your WordPress visual editor with the “ABR” button

常見問題集

Why I cannot see any changes on my website front-end?

Your theme probably don’t provides any styles for the ABBR tag… You can check if your ABBR tag is generated by “hovering” your ABBR expression with the mouse. Wait 1 second: a tooltip is supposed to appear. If you want some styles, you can put the following CSS in your theme (or wait for the next version of this plugin).
abbr{text-decoration:none;border-bottom:1px dotted;cursor:help;}

What about adding language attribute?

If the abbreviation’s language is different from your page main language, you have to indicate the language of your abbreviation to be fully compatible with accessibility rules.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Abbreviation button for TinyMCE〉的開發相關工作。

參與者

〈Abbreviation button for TinyMCE〉外掛目前已有 2 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Abbreviation button for TinyMCE〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.3.7

WordPress 5.3 compatibility.

1.3.6

WordPress 4.9 compatibility checks and small fixes in some files. You can upgrade without any risk 🙂

1.3.5

  • Check WordPress 4.7 support (it works fine!)
  • Better internationalization support

1.3.4

  • Better use of lang attribute: we don’t need to show this attribute if empty.
  • Small fixes on internationalization.

1.3.3

  • Add french (fr_FR) translation to 1.3.

1.3.2

  • Official WordPress translation compatibility. You can now contribute to translate this plugin to your language here. Just go to your locale language and search Plugins > Abbreviation button for tinymce. Contributors will be credited on the plugin’s main page 😉

1.3.1

  • Fix a bug on the 1.3 single button, when you try to remove an abbr tag. Sorry.

1.3

  • Add/remove an abbreviation with one single button. Many thanks to Willy Bahuaud for helping.
  • Improvements on abbreviation node removing, based on Laurent Olivares review.

1.2.1

  • Minor corrections on french translation.

1.2

  • Support lang HTML attribute.
  • Some accessibility enhancement, like an accessible modal windows which supports keyboard navigation.
  • Adding JS translation EN/FR
  • Corrections in screenshots and readme.txt file for better readability

1.1

  • Buttons are in the second line of the visual editor now.

1.0

  • Plugin initial commit.