projects
/
ckeditor.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
On repasse à js.
[ckeditor.git]
/
skins
/
ckeditor
/
_samples
/
api_dialog
/
my_dialog.js
1
/*
2
Copyright (c) 2003-2011, CKSource - Frederico Knabben. All rights reserved.
3
For licensing, see LICENSE.html or http://ckeditor.com/license
4
*/
5
6
CKEDITOR
.
dialog
.
add
(
'myDialog'
,
function
(
editor
)
7
{
8
return
{
9
title
:
'My Dialog'
,
10
minWidth
:
400
,
11
minHeight
:
200
,
12
contents
: [
13
{
14
id
:
'tab1'
,
15
label
:
'First Tab'
,
16
title
:
'First Tab'
,
17
elements
:
18
[
19
{
20
id
:
'input1'
,
21
type
:
'text'
,
22
label
:
'Input 1'
23
}
24
]
25
}
26
]
27
};
28
} );