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

f(x) Editor

外掛說明

f(x) Editor is a plugin to enhance your content editing experience by enabling WordPress features such as Page Break and Text Background Color/Highlight.

You can also easily create information boxes, colorful buttons, and columns to make your content richer and engage to your audience more.

After installation of this plugin, you can enable each features by navigating to “Settings > Visual Editor” menu in your administration panel.

Features:

  1. Easy settings to disable/enable features.
  2. Create boxes (Note, Alert, Error, Downloads) via visual editor.
  3. Create buttons (White, Black, Red, Green, Blue) via visual editor.
  4. Create columns ( up to 3 columns: “1/2 – 1/2” ; “1/3 – 2/3” ; “2/3 – 1/3” ; “1/3 – 1/3 – 1/3” ) via visual editor.
  5. Add page break button.
  6. Add line break <br/> button.
  7. Enable text background color option (not only text color).
  8. Switch paragraph to BR(line break).
  9. Easy to use. No shortcode to remember.
  10. The GPL v2.0 or later license. 🙂 Use it to make something cool.
  11. Support available at Genbu Media.
    Notes for developer:

Github

Development of this plugin is hosted at GitHub. Pull request and bug reports are welcome.

設定選項

This plugin save the options in single option name: fx-editor.

Scripts

This plugin load one CSS in site front-end and one css in editor. If you are a theme author and want to override the styling it is recommended to remove the CSS and add the CSS in your theme stylesheet and editor style CSS.

To disable the front end CSS, add this code in your theme functions.php:

add_filter( 'fx_editor_load_front_css', '__return_false' );

and then you can copy the CSS “css/front.css” to your theme style.css and make adjustment as needed.

To disable the back-end/editor CSS, add this code in your theme functions.php:

add_filter( 'fx_editor_load_editor_css', '__return_false' );

And then you can copy the CSS “css/editor.css” to your theme editor styles and make adjustment as needed. Note: You need to make sure all the needed elements such as “remove icon” and “columns info” are styled properly to make sure user can properly edit the content.

For coder module, there are separate filters to disable it:

add_filter( 'fx_editor_load_coder_editor_css', '__return_false' );
add_filter( 'fx_editor_load_coder_front_css', '__return_false' );
add_filter( 'fx_editor_load_coder_front_js', '__return_false' );

螢幕擷圖

  • Editor Settings.
  • Boxes.
  • Buttons.
  • Columns.
  • Text background Color.
  • Line Break.
  • Coder Module.
  • Coder Front View.
  • Line Break Button.

安裝方式

  1. Navigate to “Plugins > Add New” Page from your Admin.
  2. To install directly from WordPress.org repository, search the plugin name in the search box and click “Install Now” button to install the plugin.
  3. To install from plugin .zip file, click “Upload Plugin” button in “Plugins > Add New” Screen. Browse the plugin .zip file, and click “Install Now” button.
  4. Activate the plugin.
  5. Navigate to “Settings > Visual Editor” page in your admin panel to manage the plugin settings.

常見問題集

Where is the settings ?

The settings is available at “Settings > Visual Editor” page.

How to disable/override the CSS?

This plugin have no option to disable CSS. If you want to disable the CSS you need to remove the stylesheet via hooks. Read the “Other Notes” section for more info.

How to add content after boxes?

You can jump-off the boxes by pressing “Enter” twice.

How to add content after columns?

If a little trickier, you need to press “Enter” twice 2 times. That’s 4 times. The first 2 is for jump-off the individual column and the second 2 is to actually jump the overall column section.

使用者評論

2017 年 2 月 4 日 1 則留言
Tanks
2016 年 9 月 3 日 1 則留言
I was using your WP Editor Columns Add-on plugin in some of my sites. Much to my surprise I found that you merged all your old WP-Editor plugins together in this really nice plugin. No awful shortcodes anywhere!
2016 年 9 月 3 日 1 則留言
This plugin is a breath of fresh air! No messy shortcodes in sight and its great to use. Highly recommended for anyone looking for a great way to organise and style content.
2016 年 9 月 3 日 1 則留言
This plugin is a very nice and simple way to organize content on a website, works as expected. I must also commend the author who responded very quickly to my change request. Keep up the good work!
閱讀全部 6 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈f(x) Editor〉的開發相關工作。

參與者

〈f(x) Editor〉外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈f(x) Editor〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.4.0 – 09 Dec 2016

  • Compat with WP.4.7
  • Readjust icon position in WP.4.7
  • Add “underline” button option (removed in wp 4.7)

1.3.1 – 10 Nov 2016

  • Fix bug, check if tinymce DOM not set: Compatibility with f(x) Builder.

1.3.0 – 18 Oct 2016

  • Add Line Break Button Feature: In desktop we can add line break using SHIFT + ENTER. But it’s not possible on mobile. This line break can make visual editor more user friendly on mobile.

1.2.0 – 8 Sep 2016

  • Remove WP 4.0 required notice.
  • Move uninstall function to uninstall.php file for easier maintenance.
  • Remove activation hook function.
  • Change assets folder structure
  • Add “Coder” Module using google pretify.
  • Add support url in plugin action link.

1.1.0 – 2 March 2016

  • New option: enable only for “content” editor (default: true).
  • Each buttons editor ids now filterable. this will allow dev to fine tune where the buttons appear.
  • Delete options in database on plugin uninstall.

1.0.1 – 3 Feb 2016

  • Update language stings, language POT file.
  • Check version using WP version instead of tinyMCE version. (use min 4.3)
  • Add admin notice for minimum requirements.

1.0.0 – 2 Feb 2016

  • Initial release.