TinyMCE Advanced

外掛說明

TinyMCE Advanced introduces a “Classic Paragraph” block and a “Hybrid Mode” for the new block editor (Gutenberg).
If you are not quite ready to switch to the block editor, or have plugins that cannot be used there (yet), using the Classic Paragraph block and Hybrid Mode is your best option. It lets you to continue to use the familiar TinyMCE editor for most tasks, and at the same time gives you full access to all blocks and new features in the block editor.

Version 5.2 continues to improve and enhance the new features introduced in version 5.0 of TinyMCE Advanced. It introduces an improved “Clear Formatting” button, several advanced settings for tables, an option to always keep paragraph tags in the block editor and importing and exporting of the settings to a file.

If you want to continue to use the previous (“classic”) editor in WordPress 5.0 and newer, this plugin has an option to replace the new editor with the previous one. If you prefer to have access to both editors side by side or to allow your users to switch editors, it would be better to install the Classic Editor plugin. TinyMCE Advanced is fully compatible with the classic editor plugin and similar plugins that restore use of the previous WordPress editor.

As always this plugin will let you add, remove and arrange the buttons that are shown on the Visual Editor toolbar in the Classic Paragraph and Classic blocks in the block editor, and in the classic editor (when enabled by a plugin). There you can configure up to four rows of buttons including Font Sizes, Font Family, text and background colors, tables, etc.

它包含了 15 個可依據使用者設定自動啟用或停用的 TinyMCE 擴充功能。除此之外,這款外掛還加入了一些可用於 [文字] 標籤頁編輯器的常用功能 (例如保留段落標籤),並可從佈景主題的 editor-style.css 中匯入 CSS 類別。

這個外掛能為內建編輯器新增的功能 (摘錄)

  • “Classic Paragraph” block that can be used instead of or together with the standard Paragraph block.
  • An option to set the Classic Paragraph or Classic block as the default block in the block editor.
  • Supports converting of most default blocks to classic paragraphs, and from classic paragraphs back to the default blocks.
  • Support for creating and editing tables in the Classic blocks and the classic editor.
  • More options when inserting lists in the Classic blocks and the classic editor.
  • Search and Replace in the Classic blocks and the classic editor.
  • Ability to set Font Family and Font Sizes in the Classic blocks and the classic editor.
  • 還有更多…

隱私權

TinyMCE Advanced 不會收集或儲存任何與使用者相關的資料。它不需要 Cookie 配合,也不需要連線至任何第三方網站,因為它僅使用 WordPressTinyMCE 編輯器所提供的功能。

就此而言,TinyMCE Advanced 不會在任何層面影響到既有網站的個資法適用性。

螢幕擷圖

  • Rich-text toolbar and selected text color settings.
  • The Classic Paragraph block.
  • Converting several paragraphs into one classic paragraph.
  • Converting several paragraphs into one classic paragraph.
  • Settings for the rich-text toolbar, the Formatting toolbar and the selected text color.
  • Settings for the toolbars in Classic Paragraph and Classic blocks.
  • Additional options (defaults are shown).

安裝方式

從 WordPress 後台進行安裝,是最佳也是最安全的方式。如果必須進行手動安裝,請確保外掛檔案儲存於名為 tinymce-advanced 的資料夾中 (而不是兩層巢狀資料夾),並上傳至 WordPress 的外掛資料夾 (通常是 wp-content/plugins)。

常見問題集

I see an error like: “Failed to load plugin from url…”

These errors are usually caused by the file in question being blocked by some security setting on the server, or (rarely) by caching issues or wrong permissions.

The first step to debug this is to try to access the file directly in the browser (i.e. copy the URL and paste in the browser and press Enter).

If you see the file (that’s usually minified JS, so it is all on one line) chances are it was some sort of caching issue that is now resolved. Try using the editor again.

If you see an HTTP error (like 403 or 500) best would be to contact your web hosting company for help. In some cases deleting and re-installing the plugin may help.

Tables look different (inline styles are missing) when I insert a table

Please see the new (as of version 5.2.0) advanced settings for tables. It is possible to disable use of inline styles for tables but that would make the table non-resizable in the editor. If the advanced tabs on the table, row, and column dialogs are enabled (default), it will still be possible to enter width and height values which are set as inline styles.

樣式並未匯入至 [格式] 子選單中

[格式] 子選單中的樣式會從使用中的佈景主題的 editor-style.css 檔案匯入,但是有些佈景主題並沒有這個功能。對於這類佈景主題,TinyMCE Advanced 能讓使用者加入自訂的 editor-style.css 檔案,並將其匯入編輯器中。

安裝了這款外掛後,但是編輯器並沒有任何變更

試著變更其中一個工具列上的按鈕並儲存變更、試著清除瀏覽器快取,或再試一次。如果仍不起作用,請按住 Shift 或 Ctrl 鍵的同時試著重新載入編輯頁面數次看看。這也可能是用戶端裝置與主機之間仍有網路快取,可能需要等待幾個小時直到快取過期。

新增表情符號代碼後,表情符號圖片未顯示在編輯器中

TinyMCE 中的 [表情符號] 按鈕加入了各式表情的程式碼。檢視文章時,各式表情的實際圖片會由 WordPress 負責顯示。這個功能要正常運作的話,請確保已啟用 [設定]->[寫作] 中的 [自動將 :-) 以及 :-P 等心情符號轉換成圖片] 這項設定。

這款外掛並未在編輯器上新增任何按鈕

請前往 [使用者]->[個人資料],確認使用者個人啟用 [停用編輯器的 [預覽] 模式] 這項設定。

看到的一直都是舊按鈕

Re-save the settings or click the “Restore Default Settings” button on the plugin settings page and then set the buttons again and save.

還有其他問題?需要更多螢幕擷圖?

請在技術支援論壇發表問題,或參閱 TinyMCE Advanced 官方網站首頁所提供的資訊。

使用者評論

Плагин очень нужный

Использую этот плагин более 3 лет и очень удобно. Удачно расширяет редактор - выставил все, что надо и часто используешь и все под рукой! Спасибо!

A saviour from Blocks

Blocks is still an awful editor. I was using TinyMCE even before it because of a lot of small neat options. Now it's a must for me.

Lost all the data

I wrote a long post, and all the data was lost, Now I have to write that all again (about 300 words), I did a undo and all the data was gone, and I could't redo it. There was no backup(revision), Trust me, this is not a good plugin, I would rather use blocks.

Easy Setup!

The plugin worked great right from the start. Really easy to add and activate and that was it. Much better editor than the standard default.
閱讀全部 283 則使用者評論

參與者及開發者

TinyMCE Advanced 外掛為開源軟體。以下人員為這個外掛做出了重大貢獻。

參與者

TinyMCE Advanced 外掛目前已有 34 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將 TinyMCE Advanced 外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

5.2.0

  • Updated for WordPress 5.2.
  • Updated the buttons settings for the block editor toolbar. There are a few new limitations there: most buttons are now hidden in a drop-down and the users are not allowed to arrange the buttons.
  • Added a new advanced settings section for tables. Makes it possible to better configure how tables are edited and whether to disable use of inline CSS styles. Note that disabling inline styles would make the tables non-resizable in the editor.
  • Removed the option to enable pasting of image sources in some browsers. It was not working correctly.
  • Added a new option to always keep paragraph tags in the Classic Paragraph and Classic blocks in the block editor.
  • Updated exporting and importing of the settings. Now settings are exported to a (downloaded) file, and can be restored by uploading a previously exported settings file.
  • Improved the block editor Clear Formatting button. If some text is selected, it only clears the styling from that text. If no selection, all styling from the paragraph is cleared.

5.0.1

  • Fixed importing of backed-up settings.
  • Updated the FAQ section in the readme.

5.0.0

  • Added several new buttons to the rich-text toolbar in the block editor.
  • Added functionality to add, remove and arrange most buttons on the rich-text toolbar in the block editor.
  • Added alternative location for buttons for the rich-text component. That lets users move buttons that are not used frequently out of the way.
  • Added settings for selected text color and background color.
  • Improved fixes and enhancements for the Classic block.
  • Improved the Classic Paragraph block and added support for converting from most blocks to classic paragraphs, and converting a classic paragraph into separate blocks.

4.8.2

  • Fixes and improvements for 4.8.1.
  • Added separate option to enable the Classic Paragraph block.
  • Added converting of most default blocks to classic paragraphs, and from classic paragraphs to default blocks.

4.8.1

  • Updated for WordPress 5.0.
  • Added Hybrid Mode for the block editor. Includes a Classic Paragraph block that replaces the default Paragraph block.
  • Added option to replace the block editor with the classic editor.
  • Added another settings section for configuring the toolbars in the Classic block and the Classic Paragraph block.
  • Added some CSS fixed for the Classic block.
  • Fixed (removed) setting of inline CSS for table cells when inserting a table. Inline CSS is still added when a table is resized by dragging.

4.8.0

  • Updated for WordPress 4.9.8 and TinyMCE 4.8.0.

4.7.13

  • Updated the table and anchor plugins to 4.7.13 (2018-05-16). Fixes a bug in the table plugin in Edge.

4.7.11

  • Updated for WordPress 4.9.6 and TinyMCE 4.7.11.

4.6.7

  • Fixed compatibility with Gutenberg freeform block.
  • Forced refresh of the TinyMCE plugins after activation.
  • Updated for WordPress 4.9 and TinyMCE 4.6.7.

4.6.3

  • Updated for WordPress 4.8 and TinyMCE 4.6.3.

4.5.6

  • Updated for WordPress 4.7.4 and TinyMCE 4.5.6.
  • Fixed PHP notice after importing settings.

4.4.3

  • Updated for WordPress 4.7 and TinyMCE 4.4.3.
  • Fixed missing “Source code” button bug.

4.4.1

  • Updated for WordPress 4.6 and TinyMCE 4.4.1.
  • Fixed multisite saving bug.
  • Added new button in the Text editor to add or reset the line breaks. Adds line breaks only between tags. Works only when it detects that line breaks are missing so it doesn’t reformat posts with removed paragraphs.

4.3.10.1

  • Fixed adding paragraph tags when loading posts that were saved before turning wpautop off.
  • Disabled the (new) inline toolbar for tables as it was overlapping the table in some cases.

4.3.10

  • Updated for WordPress 4.5.1 and TinyMCE 4.3.10.
  • Fixed support for adding editor-style.css to themes that don’t have it.

4.3.8

  • Updated for WordPress 4.5 and TinyMCE 4.3.8.
  • Separated standard options and admin options.
  • Added settings that can disable the plugin for the main editor, other editors in wp-admin or editors on the front-end.
  • Korean translation by Josh Kim and Greek translation by Stathis Mellios.

4.2.8

  • Updated for WordPress 4.4 and TinyMCE 4.2.8.
  • Japanese translation by Manabu Miwa.

4.2.5

  • Updated for WordPress 4.3.1 and TinyMCE 4.2.5.
  • Fixed text domain and plugin headers.

4.2.3.1

  • Fix error with removing the textpattern plugin.

4.2.3

  • Updated for WordPress 4.3 and TinyMCE 4.2.3.
  • Removed the textpattern plugin as WordPress 4.3 includes similar functionality by default.
  • French translation by Nicolas Schneider.

4.1.9

  • Updated for WordPress 4.2 and TinyMCE 4.1.9.
  • Fixed bugs with showing oEmbed previews when pasting an URL.
  • Fixed bugs with getting the content from TinyMCE with line breaks.

4.1.7

  • Updated for WordPress 4.1 and TinyMCE 4.1.7.
  • Fixed bug where consecutive caption shortcodes may be split with an empty paragraph tag.

4.1.1

  • Fix bug with image captions when wpautop is disabled.
  • Add translation support to the settings page. Button names/descriptions are translated from JS using the existing WordPress translation, so this part of the settings page will be translated by default. The other text still needs separate translation.

4.1

  • Updated for WordPress 4.0 and TinyMCE 4.1.
  • Add the textpattern plugin that supports some of the markdown syntax while typing, (more info).
  • Add the updated ‘table’ plugin that supports background and border color.

4.0.2

  • Fix showing of the second, third and forth button rows when the Toolbar Toggle button is not used.
  • Fix adding the directionality plugin when RTL or LTR button is selected.
  • Show the ”Advanced Options” to super admins on multisite installs.
  • Add the link plugin including link rel setting. Replaces the Insert/Edit Link dialog when enabled.
  • Include updated ”table” plugin that has support for vertical align for cells.

4.0.1

Fix warnings on pages other than Edit Post. Update the description.

4.0

Updated for WordPress 3.9 and TinyMCE 4.0. Refreshed the settings screen. Added support for exporting and importing of the settings.

3.5.9.1

Updated for WordPress 3.8, fixed auto-embedding of single line URLs when not removing paragraph tags.

3.5.9

Updated for WordPress 3.7 and TinyMCE 3.5.9.

3.5.8

Updated for WordPress 3.5 and TinyMCE 3.5.8.

3.4.9

Updated for WordPress 3.4 and TinyMCE 3.4.9.

3.4.5.1

Fixed a bug preventing TinyMCE from importing CSS classes from editor-style.css.

3.4.5

Updated for WordPress 3.3 or later and TinyMCE 3.4.5.

3.4.2.1

Fix the removal of the media plugin so it does not require re-saving the settings.

3.4.2

Compatibility with WordPress 3.2 and TinyMCE 3.4.2, removed the options for support for iframe and HTML 5.0 elements as they are supported by default in WordPress 3.2, removed the media plugin as it is included by default.

3.3.9.1

Added advanced options: stop removing iframes, stop removing HTML 5.0 elements, moved the support for custom editor styles to editor-style.css in the current theme.

Attention: if you have a customized tadv-mce.css file and your theme doesn’t have editor-style.css, please download tadv-mce.css, rename it to editor-style.css and upload it to your current theme directory. Alternatively you can add there the editor-style.css from the Twenty Ten theme. If your theme has editor-style.css you can add any custom styles there.

3.3.9

Compatibility with WordPress 3.1 and TinyMCE 3.3.9, improved P and BR tags option.

3.2.7

Compatibility with WordPress 2.9 and TinyMCE 3.2.7, several minor bug fixes.

3.2.4

Compatibility with WordPress 2.8 and TinyMCE 3.2.4, minor bug fixes.

3.2

Compatibility with WordPress 2.7 and TinyMCE 3.2, minor bug fixes.

3.1

Compatibility with WordPress 2.6 and TinyMCE 3.1, keeps empty paragraphs when disabling the removal of P and BR tags, the buttons for MCImageManager and MCFileManager can be arranged (if installed).

3.0.1

Compatibility with WordPress 2.5.1 and TinyMCE 3.0.7, added option to disable the removal of P and BR tags when saving and in the HTML editor (wpautop), added two more buttons to the HTML editor: wpautop and undo, fixed the removal of non-default TinyMCE buttons.

3.0

Support for WordPress 2.5 and TinyMCE 3.0.

2.2

Deactivate/Uninstall option page, font size drop-down menu and other small changes.

2.1

Improved language selection, improved compatibility with WordPress 2.3 and TinyMCE 2.1.1.1, option to override some of the imported css classes and other small improvements and bugfixes.

2.0

Includes an admin page for arranging the TinyMCE toolbar buttons, easy installation, a lot of bugfixes, customized “Smilies” plugin that uses the built-in WordPress smilies, etc. The admin page uses jQuery and jQuery UI that lets you “drag and drop” the TinyMCE buttons to arrange your own toolbars and enables/disables the corresponding plugins depending on the used buttons.