| Server IP : 87.98.231.4 / Your IP : 216.73.217.178 [ 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_pagebuilderck/assets/editors/ |
Upload File : |
/**
* @copyright Copyright (C) 2017 Cedric KEIFLIN alias ced1870
* https://www.joomlack.fr
* @license GNU/GPL
* */
/* Call the editor using Javascript. It needs an instance of a sample editor called "ckeditor" to run
* the ckeditor instance shall be called in PHP using JEditor->display
*/
function ckLoadEditorOnTheFly(id) {
try {
tinymce.execCommand('mceAddEditor', false, id);
}
catch(err) {
alert(err);
}
}
/* save the content of the editor into the textarea */
function ckSaveEditorOnTheFly(id) {
try {
var editor = tinymce.get(id);
editor.save();
}
catch(err) {
alert('Error saving one of the editors');
}
}
/* save the content of the editor into the textarea */
function ckRemoveEditorOnTheFly(id) {
try {
tinymce.execCommand('mceRemoveEditor', false, id);
}
catch(err) {
alert('Error removing one of the editors');
}
}