
內容簡介
WordPress 4.7 從 TinyMCE 按鈕中移除了對齊按鈕,此外掛可將其恢復使用 \o/
聲明:在網站上進行文本對齊不是一個很好的主意,因為經過對齊的文本在小屏幕上可能無法閱讀。根據印刷排版規則,若不擁有良好的斷詞和每行不超過 70 個字符的情況下,不應該進行文本對齊。因此,請小心並不要在所有情況下使用對齊文本。強烈建議使用 CSS 媒體查詢為小型裝置提供左對齊功能。
老實說,我並不認為刪除此按鈕是一個壞主意,但一些客戶想要恢復它,因此我為他們做了一個小插件:)
下劃線按鈕在 WordPress 4.7 中也被刪除,但我們不會在這裡恢復它,因為該按鈕明顯糟糕。在網站上,對普通文本進行下劃線總是一個不好的想法,因為這應該留給超連結使用。如果您也希望恢復下劃線按鈕,請查看此插件:Re-Add Underline and Justify。
鳴謝:Jean-Baptiste Audras,Whodunit WordPress 代理商的專案經理兼 WordPress 開發人員。您可以在 Twitter 上關注 @audrasjb 或在 Github 上關注 @audrasjb。
外掛標籤
開發者團隊
② 後台搜尋「Who Stole the Text Justify Button ?!」→ 直接安裝(推薦)
原文外掛簡介
WordPress 4.7 removed the text justify button from TinyMCE buttons. This plugin will bring it back \o/
Disclaimer: justifying is not a very good idea on websites, because justified text can be unreadable on small screens. According to typographic rules, you shouldn’t justify text without good hyphenation and under 70 characters per line in average. So be careful and do not use justified text in all case. I strongly recommend you to provide left alignment for small devices, using CSS media queries.
To be honest, I do not really think removing this button was a bad idea, but some clients wanted it again, so I made a little plugin for them 🙂
Underline button was also removed by WordPress 4.7, and we are not going to bring it back here because this button clearly sucks. On the web, underlining normal text is always a bad idea because it should be reserved for links. If you want it back too, check this plugin: Re-Add Underline and Justify.
Credits : Jean-Baptiste Audras, project manager at Whodunit and WordPress developer. @audrasjb on Twitter or Github.
