first commit
This commit is contained in:
39
libraries/ckeditor/plugins/googlemaps/dialogs/text.js
Normal file
39
libraries/ckeditor/plugins/googlemaps/dialogs/text.js
Normal file
@@ -0,0 +1,39 @@
|
||||
|
||||
CKEDITOR.dialog.add( 'googlemapsText', function( editor ) {
|
||||
'use strict';
|
||||
|
||||
return {
|
||||
title : editor.lang.googlemaps.textProperties,
|
||||
minWidth : 200,
|
||||
minHeight : 35,
|
||||
|
||||
onLoad: function() {
|
||||
this.setValues = function( data ) { this.definition.setValues.call(this, data); };
|
||||
this.getValues = function() { return this.definition.getValues.call(this); };
|
||||
},
|
||||
setValues : function(data) {
|
||||
var control = this.getContentElement( 'Info', 'txtTooltip');
|
||||
control.setValue( data.title );
|
||||
control.setInitValue();
|
||||
},
|
||||
|
||||
getValues : function() {
|
||||
return {
|
||||
title: this.getValueOf( 'Info', 'txtTooltip')
|
||||
};
|
||||
},
|
||||
|
||||
contents : [
|
||||
{
|
||||
id : 'Info',
|
||||
elements :
|
||||
[
|
||||
{
|
||||
id : 'txtTooltip',
|
||||
type : 'text'
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
};
|
||||
} );
|
||||
Reference in New Issue
Block a user