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 / ulungkusma_web_id / tiny_mce / plugins / paste / js /
server ip : 104.21.89.46

your ip : 172.71.255.134

H O M E


Filename/var/www/html/ulungkusma_web_id/tiny_mce/plugins/paste/js/pastetext.js
Size848
Permissionrw-rw-r--
Ownerulung : ulung
Create time27-Apr-2025 11:16
Last modified05-Feb-2025 12:52
Last accessed07-Jul-2025 21:14
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);