K2LL33D SHELL

 Apache/2.4.7 (Ubuntu)
 Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64
 uid=33(www-data) gid=33(www-data) groups=33(www-data)
 safemode : OFF
 MySQL: ON | Perl: ON | cURL: OFF | WGet: ON
  >  / var / www / html / sman1baleendah_sch_id / tiny_mce / plugins / paste / js /
server ip : 172.67.156.115

your ip : 172.70.127.225

H O M E


Filename/var/www/html/sman1baleendah_sch_id/tiny_mce/plugins/paste/js/pastetext.js
Size848
Permissionrwxr-xr-x
Ownerroot : root
Create time11-Jun-2025 21:32
Last modified11-Jun-2025 21:32
Last accessed06-Jul-2025 00:59
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
tinyMCEPopup.requireLangPack();

var PasteTextDialog = {
init : function() {
this.resize();
},

insert : function() {
var h = tinyMCEPopup.dom.encode(document.getElementById('content').value), lines;

// Convert linebreaks into paragraphs
if (document.getElementById('linebreaks').checked) {
lines = h.split(/\r?\n/);
if (lines.length > 1) {
h = '';
tinymce.each(lines, function(row) {
h += '<p>' + row + '</p>';
});
}
}

tinyMCEPopup.editor.execCommand('mceInsertClipboardContent', false, {content : h});
tinyMCEPopup.close();
},

resize : function() {
var vp = tinyMCEPopup.dom.getViewPort(window), el;

el = document.getElementById('content');

el.style.width = (vp.w - 20) + 'px';
el.style.height = (vp.h - 90) + 'px';
}
};

tinyMCEPopup.onInit.add(PasteTextDialog.init, PasteTextDialog);