You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
892 B

  1. ---
  2. layout: default
  3. title: Advanced Code Editor plugin
  4. title_nav: Advanced Code Editor
  5. description: How to setup TinyMCE's Advanced Code Editor plugin.
  6. keywords: code advcode codemirror
  7. controls: toolbar button, menu item
  8. ---
  9. This plugin adds a toolbar button that allows a user to edit the HTML code using a more advanced [code editor]({{ site.baseurl }}/enterprise/advcode/) than the default textarea.
  10. If you are using Advanced Code Editor `advcode` plugin, make sure you do not use Code `code` plugin.
  11. ##### Example
  12. ```js
  13. tinymce.init({
  14. selector: "textarea", // change this value according to your HTML
  15. plugins: "advcode",
  16. toolbar: "code"
  17. });
  18. ```
  19. > The Advanced Code Editor plugin is included with a [TinyMCE Enterprise](https://www.tinymce.com/pricing/) subscription. Please [click here](https://www.tinymce.com/pricing/) to learn more about our flexible subscriptions plans.