Re-add text underline and justify

描述

This tiny plugin re-adds the Editor text underline & text justify buttons in the WYSIWYG removed in WordPress 4.7. It works well with the Classic Editor plugin, Advanced Custom Fields (Free & Pro) and is also compatible with the Gutenberg’s “Classic” bloc.

In WordPress 4.7, the core developper team decided to make various changes in the editor (TinyMce WYSIWYG), including removing the underline and justify buttons and rearranging some of the toolbar buttons.
If you don’t want to change the way you edit your content and/or don’t want to confuse your customers with a new contribution interface, this very lightweight plugin will set the editor style back to its previous state (like in WordPress 4.6 and above versions).

You may change the Editor style from the Writing option page.

3 options are available for the Editor style:

  • Without underline & justify buttons
  • Default – Re-add underline & justify buttons
  • Re-add justify only

Please note, the previous option “Re-add underline & justify + rearrange” has been deprecated in 0.2 (sept. 2018) as it causes conflicts with the new Gutenberg editor. This option automatically switches to “Re-add underline & justify buttons” from now on.

DOCUMENTATION

CHECK OUT MY OTHER PLUGINS

Please ask for help or report bugs if anything goes wrong. It is the best way to make the community benefit!

屏幕截图

  • Change the Editor style from the Writing option page
  • Gutenberg with justify button
  • Default - without underline & justify buttons
  • Re-add underline & justify buttons
  • Re-add justify only

安装

  1. Upload and activate the plugin (or install it through the WP admin console)
  2. That’s it, it is ready to use!
  3. If you wan’t to change the default parameter, go to Settings -> Writing and select the option you want under “Editor style”.

常见问题

Where can I change the Editor style?

Just go to Settings -> Writing and select the option you want under “Editor style”.

评价

2019 年 10 月 13 日 1 回复
completely useless. does not work
2017 年 10 月 4 日
Thanks for helping the community to stay safe from the silly decisions of the dictators who provide us this great tool which ins WordPress. It would be great that for each silly decision someone would come out with a way to block it.
2017 年 7 月 2 日
I can't fathom the idiocy and broken logic that led to wordpress removing these buttons in the first place. The justifications posted by Andrew Ozz were nonsensical at best and showed his indifference to the average user and designers. Thank you for making this plugin. Please don't use it to hack my sites.
2017 年 4 月 1 日
Jusitfy button is finally back.
阅读所有24条评价

贡献者及开发者

“Re-add text underline and justify” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Re-add text underline and justify」插件已被翻译至 11 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“Re-add text underline and justify”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.4.1 – 2024/03/07

  • Tested on WP 6.4.3 with success!

0.4 – 2022/10/24

  • Tested on WP 6.0.3 with success!
  • Update readme

0.3 – 2019/11/14

  • Tested on WP 5.3 with success!
  • Change default option to “Re-add underline & justify buttons” on plugin activation

0.2 – 2018/04/09

  • Tested on WP 4.9.8 with success!
  • Added support for Gutenberg for its “Classic” bloc only.
  • Remove option 3 “Re-add underline & justify + rearrange” (depracated)

0.1.4 – 2017/31/03

  • Tested on WP 4.7.3 with success!
  • Fix broken links in plugins meta

0.1.3 – 2016/14/01

  • Added the fourth option to only re-add justify button (push methode)
  • Push non standard button to the end of the buttons lines for the third option. This prevents from removing extra buttons added by other plugins.
  • Fix for ACF (free) on the second option

0.1.2 – 2016/14/11

  • Changes MCE button hook priority to prevent errors with other plugins adding extra buttons.

0.1.1 – 2016/10/11

  • Fixes an issue hidding Editor content.

0.1 – 2016/06/116

  • First release.