
內容簡介
這個外掛解決了我最大的煩惱之一,那就是快速更改所選文本的大小寫。客戶通常會以全大寫或全小寫的方式發送文本,而繁瑣的點擊文本以更改大小寫往往非常枯燥無味。我創建了這個簡單而有效的外掛,以消除這個繁重的任務。
根據一個請求,我新增了第四個按鈕,用於添加「句子大小寫」。因此,如果您有一大塊文本包含“.”、“?”或“!”之類,在句子之間時,它只會大寫每個句子的第一個字母。
還有一個「選項」頁面,可以啟用或禁用所有按鈕。
新增功能
我還添加了鍵盤快捷鍵!
Ctrl+Shift+L = 小寫
Ctrl+Shift+U = 大寫
Ctrl+Shift+S = 句子大小寫
Ctrl+Shift+T = 標題大小寫
(我沒有Mac來進行測試,但是根據TinyMCE文檔,command應該能夠運作)
使用方法
選中要更改的文本。在文章/頁面內單擊「視覺編輯器」按鈕,以實現所需的效果:
UC - 改變所選文本成全大寫。
lc - 改變所選文本成全小寫。
Sc - 改變所選文本成句子大小寫。
Tc - 改變所選文本成標題大小寫。
外掛標籤
開發者團隊
原文外掛簡介
This plugin solves one of my greatest annoyances. Quickly changing the case of selected text. Clients often send text with all caps or no caps and clicking through a ton of text to fix the case is often tedious work. I created this simple but effective plugin to eliminate that chore.
Based on a request I have added a fourth button to add Sentence Case as well. So if you have a large block of text with . ? or ! between sentences it will Cap only the first letter of each sentence.
There is an Options Page to enable or disable any of the buttons.
NEW
I have also added keyboard shorcuts!
Ctrl+Shift+L = Lowercase
Ctrl+Shift+U = Uppercase
Ctrl+Shift+S = Sentence Case
Ctrl+Shift+T = Title Case
(I do not own a mac to test on but command should work according to the TinyMCE documentation)
Usage
Highlight the text to be changed. Click the Visual Editor button inside your post/page for the desired effect:
UC – Changes selected text to all Uppercase.
lc – Changes selected text to all lowercase.
Sc – Changes selected text to all Sentence case.
Tc – Changes selected text to all Title case.
