Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Javascript
Posted by: Gábor Papp
Added: Oct 20, 2020 8:37 AM
Views: 14
Tags: no tags
  1. function tiny_torol() {
  2.     // esetleg ezt hasznalni - de eleg lehet a tinyMCE.editors=[];
  3.     if (typeof(tinyMCE) != "undefined") {
  4.         alert('111');
  5.         if (tinyMCE.activeEditor == null || tinyMCE.activeEditor.isHidden() != false) {
  6.             alert('222');
  7.             tinyMCE.editors=[];
  8.         }
  9.     }
  10. }
  11.  
  12. function tinyMCE_load_3(plusbuttons) {
  13.     tinyMCE.editors=[];
  14.  
  15.     tinyMCE.init({
  16.         mode : "specific_textareas",
  17.         editor_selector : "mceeditor",
  18.         theme : "advanced",
  19.         language : "hu",
  20.         entities: "",
  21.         // ...
  22.     });
  23. }