Linux 软件免费装
Banner图

TinyMCE Code Formatting

开发者 mortalis
更新时间 2015年4月15日 01:59
PHP版本: 4.1 及以上
WordPress版本: 4.1
版权: GPLv2 or later
版权网址: 版权信息

标签

button tinymce editor code formatting shortcut pre

下载

详情介绍:

The Pre button toggles the preformatted style on the selected text or the current line (applies <pre> tag to blocks).\ The Code button toggles the code style on the selected text or the current word (applies <code> tag to inline elements). The default shortcuts for the buttons are: In the admin Settings submenu it's possible to change these shortcuts.\ Press a key combination in the text fields with the Ctrl key included and the text will be filled automatically. Or you can type it manually. Some combinations may conflict with the default editor or browser shortcuts.\ So check them on your instance. You may use these types of shortcuts: This plugin GitHub repository: https://github.com/mortalis13/tinymce-code-formatting.

安装:

  1. Upload tinymce-pre-button folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress

屏幕截图:

  • The buttons in the default TinyMCE editor.
  • The buttons with the TinyMCE Advanced plugin activated.
  • Plugin options page allows to select custom shortcuts.