Files
tinymce-docs-4x/plugins/compat3x.md
T
Davit Barbakadze a2e5774178 modify compat3x file
2017-01-16 00:33:48 +00:00

1.2 KiB

layout, title, title_nav, description, keywords
layout title title_nav description keywords
default 3.x Compatibility Plugin 3.x Compatibility Run old plugins on version 4. compat3x utils tiny_mce_popup editor_plugin

This plugin makes possible to run majority of old 3.x plugins on the latest TinyMCE, without any modification. However you need to take a few steps to enable it:

Installation Instructions

  1. Download TinyMCE development package.
  2. Copy compat3x plugin to your site.
  3. Copy utils and tiny_mce_popup.js to the same directory, where your tinymce.min.js resides.
  4. Load compat3x after TinyMCE core.
  5. (Optional) If you rename editor_plugin.js file to plugin.min.js then you will be able to load your old plugin as the regular one.

Type: String

Example of loading the compat3x before tinymce.init:

<script src="/tinymce/tinymce.min.js"></script>
<script src="/tinymce/plugins/compat3x/plugin.min.js"></script>
<script type="text/javascript">
tinymce.init({
  selector: "textarea",  // change this value according to your HTML
  external_plugins: {
    "myoldplugin": "/tinymce/plugins/myoldplugin/editor_plugin.js"
  }
});
</script>