Title: TinyMCE Code Formatting
Author: mortalis
Published: <strong>07.04.2015</strong>
Last modified: 14.04.2015

---

Поиск плагинов

![](https://ps.w.org/tinymce-code-formatting/assets/banner-772x250.png?rev=1129617)

Этот плагин **не тестировался с последними 3 основными выпусками WordPress**. Скорее
всего, он уже не поддерживается и может быть несовместим с текущими версиями WordPress.

![](https://ps.w.org/tinymce-code-formatting/assets/icon-128x128.png?rev=1129617)

# TinyMCE Code Formatting

 Автор: [mortalis](https://profiles.wordpress.org/mortalis/)

[Скачать](https://downloads.wordpress.org/plugin/tinymce-code-formatting.zip)

 * [Детали](https://ru.wordpress.org/plugins/tinymce-code-formatting/#description)
 * [Отзывы](https://ru.wordpress.org/plugins/tinymce-code-formatting/#reviews)
 *  [Установка](https://ru.wordpress.org/plugins/tinymce-code-formatting/#installation)
 * [Разработка](https://ru.wordpress.org/plugins/tinymce-code-formatting/#developers)

 [Поддержка](https://wordpress.org/support/plugin/tinymce-code-formatting/)

## Описание

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:

 * Ctrl+Q — Pre
 * Ctrl+D — Code

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:

 * `Ctrl+B, .., Z (except AXCV)`
 * `Ctrl+0, .., 9`
 * `Ctrl+[symbols] (-=\`[];'\/,.)`
 * `Ctrl+F1, .., F12`
 * `Ctrl+Pad0, .., Pad9`
 * `Ctrl+Pad/, Pad*, Pad+, Pad.`
 * `Ctrl+Shift+...`
 * `Ctrl+Alt+...`
 * `Ctrl+Shift+Alt+...`

This plugin GitHub repository: https://github.com/mortalis13/tinymce-code-formatting.

## Скриншоты

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

## Установка

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

## Отзывы

![](https://secure.gravatar.com/avatar/2f0adb7acb2dbee8473a539197a3ea5abba6bf8bd8417250507e5df1a2d8b8ad?
s=60&d=retro&r=g)

### 󠀁[Nice and clean made plugin. Thank you!](https://wordpress.org/support/topic/nice-and-clean-made-plugin-thank-you/)󠁿

 [Herman](https://profiles.wordpress.org/hevara/) 02.10.2018

![](https://secure.gravatar.com/avatar/06c60636e5303c621dad5b41cc6adec9349e8d84569eaed08a4ba7b5623b6fc6?
s=60&d=retro&r=g)

### 󠀁[Well made plugin!](https://wordpress.org/support/topic/well-made-plugin-4/)󠁿

 [codeweapon](https://profiles.wordpress.org/codeweapon/) 22.11.2017

Well made plugin! Works well with the 4.9 Wordpress version.

![](https://secure.gravatar.com/avatar/33c28457ac12d47ed09858d7903130139871f02ccd21b54fd0ff68553652a69a?
s=60&d=retro&r=g)

### 󠀁[Super Handy Little Plugin](https://wordpress.org/support/topic/super-handy-little-plugin-1/)󠁿

 [Craig](https://profiles.wordpress.org/digimouse/) 03.09.2016

This is a super handy little plugin, saved me the time coding it out myself in all
honesty!

 [ Посмотреть все 3 отзыва ](https://wordpress.org/support/plugin/tinymce-code-formatting/reviews/)

## Участники и разработчики

«TinyMCE Code Formatting» — проект с открытым исходным кодом. В развитие плагина
внесли свой вклад следующие участники:

Участники

 *   [ mortalis ](https://profiles.wordpress.org/mortalis/)

[Перевести «TinyMCE Code Formatting» на ваш язык.](https://translate.wordpress.org/projects/wp-plugins/tinymce-code-formatting)

### Заинтересованы в разработке?

[Посмотрите код](https://plugins.trac.wordpress.org/browser/tinymce-code-formatting/),
проверьте [SVN репозиторий](https://plugins.svn.wordpress.org/tinymce-code-formatting/),
или подпишитесь на [журнал разработки](https://plugins.trac.wordpress.org/log/tinymce-code-formatting/)
по [RSS](https://plugins.trac.wordpress.org/log/tinymce-code-formatting/?limit=100&mode=stop_on_copy&format=rss).

## Мета

 *  Версия **1.0.0**
 *  Обновление: **11 лет назад**
 *  Активных установок: **80+**
 *  Версия WordPress ** 4.1 или выше **
 *  Совместим вплоть до: **4.1.42**
 *  Язык
 * [English (US)](https://wordpress.org/plugins/tinymce-code-formatting/)
 * Метки:
 * [button](https://ru.wordpress.org/plugins/tags/button/)[editor](https://ru.wordpress.org/plugins/tags/editor/)
   [formatting](https://ru.wordpress.org/plugins/tags/formatting/)[shortcut](https://ru.wordpress.org/plugins/tags/shortcut/)
   [tinyMCE](https://ru.wordpress.org/plugins/tags/tinymce/)
 *  [Дополнительно](https://ru.wordpress.org/plugins/tinymce-code-formatting/advanced/)

## Оценки

 5 из 5 звёзд.

 *  [  3 5-звездный отзыв     ](https://wordpress.org/support/plugin/tinymce-code-formatting/reviews/?filter=5)
 *  [  0 4-звездный отзыв     ](https://wordpress.org/support/plugin/tinymce-code-formatting/reviews/?filter=4)
 *  [  0 3-звездный отзыв     ](https://wordpress.org/support/plugin/tinymce-code-formatting/reviews/?filter=3)
 *  [  0 2-звездный отзыв     ](https://wordpress.org/support/plugin/tinymce-code-formatting/reviews/?filter=2)
 *  [  0 1-звездный отзыв     ](https://wordpress.org/support/plugin/tinymce-code-formatting/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/tinymce-code-formatting/reviews/#new-post)

[Посмотреть всеотзывы](https://wordpress.org/support/plugin/tinymce-code-formatting/reviews/)

## Участники

 *   [ mortalis ](https://profiles.wordpress.org/mortalis/)

## Поддержка

Есть что сказать? Нужна помощь?

 [Перейти в форум поддержки](https://wordpress.org/support/plugin/tinymce-code-formatting/)