| Server IP : 87.98.231.4 / Your IP : 216.73.217.37 [ Web Server : Apache System : Linux webm007.cluster103.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64 User : grupmartgn ( 667608) PHP Version : 8.5.7 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl Domains : 2 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/grupmartgn/elanartcrafts/media/com_jce/editor/tinymce/plugins/visualblocks/ |
Upload File : |
/* jce - 2.9.63 | 2024-03-11 | https://www.joomlacontenteditor.net | Copyright (C) 2006 - 2024 Ryan Demmer. All rights reserved | GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html */
!function() {
var Storage = tinymce.util.Storage;
tinymce.PluginManager.add("visualblocks", function(ed, url) {
var state = !1;
function toggleVisualBlocks() {
ed.controlManager.setActive("visualblocks", state), ed.getParam("use_state_cookies", !0) && Storage.set("wf_visualblocks_state", state),
state ? ed.dom.addClass(ed.getBody(), "mceVisualBlocks") : ed.dom.removeClass(ed.getBody(), "mceVisualBlocks");
}
ed.getParam("use_state_cookies", !0) && (state = Storage.get("wf_visualblocks_state")),
tinymce.is(state, "string") && (state = !!(state = "null" !== state && "false" !== state ? state : !1)),
state = ed.getParam("visualblocks_default_state", state), ed.addCommand("mceVisualBlocks", function() {
state = !state, toggleVisualBlocks();
}), ed.onSetContent.add(function() {
ed.controlManager.setActive("visualblocks", state);
}), ed.addButton("visualblocks", {
title: "visualblocks.desc",
cmd: "mceVisualBlocks"
}), ed.onInit.add(function() {
ed.settings.compress.css || ed.dom.loadCSS(url + "/css/content.css"),
state && toggleVisualBlocks();
});
});
}();