| Software: Apache/2.4.18 (Ubuntu). PHP/7.0.33-0ubuntu0.16.04.16 uname -a: Linux digifus 3.13.0-57-generic #95-Ubuntu SMP Fri Jun 19 09:28:15 UTC 2015 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/almazen2/assets/grocery_crud/texteditor/tiny_mce/plugins/paste/js/   drwxr-xr-x | |
| Viewing file: Select action/file-type: 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);
 | 
| :: Command execute :: | |
| --[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by KaizenLouie | C99Shell Github | Generation time: 0.0046 ]-- |