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

Sublime Custom JS Editor

描述

Sublime Text Custom WordPress JavaScript Editor. You can easily write your custom JavaScript by using this plugin.
We include all sublime text editor features in this plugin.

Features

features of Sublime Custom CSS Editor

  • Syntax highlighting.
  • AutoCloseBrackets
  • JS linter/Live Syntax Error
  • Line numbering.
  • keyMap Sublime Text
  • matchBrackets
  • Sublime theme
  • autocomplete And Hint
  • showCursorWhenSelecting
  • Translate pot file included.

Form Example:


function justtest() {
  var testvar = ("Hello world");
    var testvartwo = ("Hey, This plugin is Working");
  alert(testvar);
  alert(testvartwo);
}
justtest();

Credits: CodeMirror.

Email for Support: asiancodersteam@gmail.com

Arbitrary section

You may provide arbitrary sections, in the same format as the ones above. This may be of use for extremely complicated
plugins where more information needs to be conveyed that doesn’t fit into the categories of “description” or
“installation.” Arbitrary sections will be shown below the built-in sections outlined above.

A brief Markdown Example

Here’s a link to WordPress and one to Markdown’s Syntax Documentation.
Titles are optional, naturally.

Markdown uses email style notation for blockquotes and I’ve been told:

Asterisks for emphasis. Double it up for strong.

<?php code(); // goes in backticks ?>

螢幕截圖

  • Write JavaScript with Hint and Autocomplete.
  • Fined your content.
  • Save and Add custom JavaScript.

安裝

This section describes how to install the plugin and get it working.

Automatic installation

  1. Go to Plugins > Add New > Upload and select the .zip file from your hard disk
  2. Click the “Install now” button
  3. Activate the plugin through the ‘Plugins’ menu in WordPress

Manual installation

  1. Download a copy (zip file) of this plugin from WordPress.org.
  2. Unzip the zip file.
  3. Upload the unzipped directory to your website’s plugin directory (/wp-content/plugins/).
  4. Log into WordPress Dashboard of your website.
  5. Activate this plugin through the “Plugins” tab.

After installation, a “Sublime Custom JS Editor”  menu item will appear in the “Appearance” section. Click on this in order to view plugin’s administration page.

Can I use this plugin on my language?

Yes. But If your language is not available then you can make one. This plugin is ready for translation. The sublimejsedit.pot file is included and placed in “languages” folder. You need to just translate sublimejsedit.pot file.

How Can write my style

just select your targeted layout ID or Class ID=# or Class=. or any html tag
Then go to page “Appearance” —> “Sublime Custom JS” and enter your custom JavaScript. Example:


function justtest() {
  var testvar = ("Hello world");
    var testvartwo = ("Hey, This plugin is Working");
  alert(testvar);
  alert(testvartwo);
}
justtest();

評價

2016年9月3日
love live error check and autocomplete features. Love this plugin
閱讀全部2個評價

貢獻者及開發者

“Sublime Custom JS Editor” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Sublime Custom JS Editor 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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

修改日誌

1.0

  • Is First Version of The plugin.