Acest modul nu a fost testat cu ultimele 3 versiuni importante ale WordPress. S-ar putea să nu mai fie întreținut sau susținut și ar putea avea probleme de compatibilitate când este folosit cu versiuni recente ale WordPress.

WP-Syntax Button

Descriere

This plugin is designed to work with WP-Syntax (https://wordpress.org/extend/plugins/wp-syntax/).
It is in fact a copy/paste of CodeColorer TinyMCE Button adapted for wp-syntax, but it takes in consideration that wp-syntax allows you to specify the first line number.

This plugin also corrects a disagreement when switching editor mode. When you use wp-syntax you have to write in HTML editor since line argument is removed by Visual Editor… This is no longer the case.

Note that now, you „must” write your code in Visual Editor : the plugin automatically adds escaped="true" to <pre> tag. If you write your code in HTML editor, you have to encode HTML entities.

TODO

  1. Make this plugin universal for any syntax highlighter plugin

Capturi ecran

  • This is a new button on panel
  • This is what happens if you press it

Instalare

  1. Upload plugin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Use new button in TinyMCE panel

Verificări

Nu există nicio verificare pentru acest modul.

Contributori și dezvoltatori

„WP-Syntax Button” este un software open-source. La acest modul au contribuit următoarele persoane.

Contributori