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

your ip : 172.70.80.203

H O M E


Filename/var/www/html/sman1baleendahok/tiny_mce/plugins/paste/js/pastetext.js
Size848
Permissionrw-rw-r--
Ownerulung : ulung
Create time27-Apr-2025 11:12
Last modified05-Feb-2025 08:55
Last accessed03-May-2025 17:30
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);