Title: Please fix code.
Last modified: September 3, 2016

---

# Please fix code.

 *  [ethaizone](https://wordpress.org/support/users/ethaizone/)
 * (@ethaizone)
 * [11 years, 4 months ago](https://wordpress.org/support/topic/please-fix-code/)
 * At file syntax-highlighter-compress/tinymce/window.php
 * Find
 * `window.tinyMCE.execInstanceCommand('content', 'mceInsertContent', false, codetext);`
 * and replace with
 *     ```
       if (tinyMCE.majorVersion >= "4") {
               			window.tinyMCE.execCommand('mceInsertContent', false, codetext);
           			} else {
       				window.tinyMCE.execInstanceCommand('content', 'mceInsertContent', false, codetext);
       			}
       ```
   
 * I use lasted version with wordpress 4.1 and found js error from difference verion
   of tinyMCE. Please fix it.

The topic ‘Please fix code.’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/syntax-highlighter-compress.svg)
 * [Syntax Highlighter Compress](https://wordpress.org/plugins/syntax-highlighter-compress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/syntax-highlighter-compress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/syntax-highlighter-compress/)
 * [Active Topics](https://wordpress.org/support/plugin/syntax-highlighter-compress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/syntax-highlighter-compress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/syntax-highlighter-compress/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [ethaizone](https://wordpress.org/support/users/ethaizone/)
 * Last activity: [11 years, 4 months ago](https://wordpress.org/support/topic/please-fix-code/)