aboutsummaryrefslogtreecommitdiff
path: root/mod/ckeditor/vendors/ckeditor/samples/plugins/dialog/assets/my_dialog.js
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-15 15:05:42 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-15 15:05:42 -0300
commit82ca8e9f8839b98a5770a90027adcecbe603d06f (patch)
tree0f8e599218b8bcf1bb84d1defdeb8b5dd31b8a14 /mod/ckeditor/vendors/ckeditor/samples/plugins/dialog/assets/my_dialog.js
parented3335df218dca6aa14f1686454b3e265339b729 (diff)
parent20f9884f9a52e810d7e3cdbdd92eabc64812e097 (diff)
downloadelgg-82ca8e9f8839b98a5770a90027adcecbe603d06f.tar.gz
elgg-82ca8e9f8839b98a5770a90027adcecbe603d06f.tar.bz2
Merge commit '20f9884f9a52e810d7e3cdbdd92eabc64812e097' as 'mod/ckeditor'
Diffstat (limited to 'mod/ckeditor/vendors/ckeditor/samples/plugins/dialog/assets/my_dialog.js')
-rw-r--r--mod/ckeditor/vendors/ckeditor/samples/plugins/dialog/assets/my_dialog.js48
1 files changed, 48 insertions, 0 deletions
diff --git a/mod/ckeditor/vendors/ckeditor/samples/plugins/dialog/assets/my_dialog.js b/mod/ckeditor/vendors/ckeditor/samples/plugins/dialog/assets/my_dialog.js
new file mode 100644
index 000000000..b80cac91e
--- /dev/null
+++ b/mod/ckeditor/vendors/ckeditor/samples/plugins/dialog/assets/my_dialog.js
@@ -0,0 +1,48 @@
+/**
+ * Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
+ * For licensing, see LICENSE.html or http://ckeditor.com/license
+ */
+
+CKEDITOR.dialog.add( 'myDialog', function( editor ) {
+ return {
+ title: 'My Dialog',
+ minWidth: 400,
+ minHeight: 200,
+ contents: [
+ {
+ id: 'tab1',
+ label: 'First Tab',
+ title: 'First Tab',
+ elements: [
+ {
+ id: 'input1',
+ type: 'text',
+ label: 'Text Field'
+ },
+ {
+ id: 'select1',
+ type: 'select',
+ label: 'Select Field',
+ items: [
+ [ 'option1', 'value1' ],
+ [ 'option2', 'value2' ]
+ ]
+ }
+ ]
+ },
+ {
+ id: 'tab2',
+ label: 'Second Tab',
+ title: 'Second Tab',
+ elements: [
+ {
+ id: 'button1',
+ type: 'button',
+ label: 'Button Field'
+ }
+ ]
+ }
+ ]
+ };
+});
+