[WordPress] 外掛分享: Acelerator

首頁外掛目錄 › Acelerator
WordPress 外掛 Acelerator 的封面圖片
全新外掛
安裝啟用
尚無評分
2862 天前
最後更新
問題解決
WordPress 4.0+ v0.1 上架:2018-05-16

內容簡介

將 ACE 編輯器添加到管理員中的任何文本區域。

與其他外掛一起使用。 最初調整為支持“CUSTOM CSS-JS-PHP”外掛程式,但遠非僅限於此。

使用類似於jQuery選取器的語法進行調整。

選擇器

腳本將搜索選擇器的出現次數(用“|”分開),並將它們轉換為 ACE 編輯器。

語法

腳本將搜索選擇器的出現次數(用“|”分開),並會選擇第一個現有的出現次數,以定義此頁面上 ACE 編輯器實例的語法。 例如,h4:contains(‘CSS Code’)@css 意味著它會將 ACE 編輯器的語法設置為“CSS”,如果該頁面有包含文本“CSS Code”的h4標籤。

CSS

ACE 編輯器 holder 的附加 CSS。

製作者

https://github.com/ajaxorg/ace-builds

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Acelerator」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Add ace editor to any textarea in admin.
Works with other plugins. Initially tuned to support ‘CUSTOM CSS-JS-PHP’ plugin, but far from being limited to it only.
Uses jQuery selectors-like syntax for tuning.
Selectors
The script will look for occurences of selectors (separate with “|”) and turn them into ace editors.
Syntaxes
The script will look for occurences of selectors (separate with “|”) and will pick the first existing occurence to define the language syntax for ace editor instances on this page. I.e., h4:contains(‘CSS Code’)@css means it will set the ace editor’s syntax to “css” if the page has h4 which contains text “CSS Code”.
CSS
Additional CSS for ace editor holder.
Credits
https://github.com/ajaxorg/ace-builds

延伸相關外掛

文章
Filter
Apply Filters
Mastodon