OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
reader
/
_backup
/
tinymce
/
tinymce
/
src
/
themes
/
silver
/
demo
/
ts
/
dialogs
/
spec
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
02/20/2020 06:37:26 AM
rwxr-xr-x
📄
AlertBannerDialogSpec.ts
725 bytes
02/20/2020 06:37:29 AM
rw-r--r--
📄
AnchorDialogSpec.ts
609 bytes
02/20/2020 06:37:30 AM
rw-r--r--
📄
CharmapDialogSpec.ts
942 bytes
02/20/2020 06:37:30 AM
rw-r--r--
📄
CodeSampleDialogSpec.ts
977 bytes
02/20/2020 06:37:31 AM
rw-r--r--
📄
ColorPickerDialogSpec.ts
810 bytes
02/20/2020 06:37:31 AM
rw-r--r--
📄
CustomRediallingSpec.ts
734 bytes
02/20/2020 06:37:32 AM
rw-r--r--
📄
DocumentPropsDialogSpec.ts
1.35 KB
02/20/2020 06:37:32 AM
rw-r--r--
📄
FindReplaceDialogSpec.ts
128 bytes
02/20/2020 06:37:33 AM
rw-r--r--
📄
ImageDialogSpec.ts
2.42 KB
02/20/2020 06:37:33 AM
rw-r--r--
📄
LinkDialogSpec.ts
1.22 KB
02/20/2020 06:37:34 AM
rw-r--r--
📄
MediaDialogSpec.ts
1.58 KB
02/20/2020 06:37:34 AM
rw-r--r--
📄
PreviewDialogSpec.ts
413 bytes
02/20/2020 06:37:35 AM
rw-r--r--
📄
TableCellDialogSpec.ts
3.37 KB
02/20/2020 06:37:35 AM
rw-r--r--
📄
TableDialogSpec.ts
2.92 KB
02/20/2020 06:37:36 AM
rw-r--r--
📄
TableRowDialogSpec.ts
2.5 KB
02/20/2020 06:37:36 AM
rw-r--r--
📄
TemplateDialogSpec.ts
1003 bytes
02/20/2020 06:37:38 AM
rw-r--r--
Editing: CharmapDialogSpec.ts
Close
import { console } from '@ephox/dom-globals'; export default { title: 'Special character', body: { type: 'panel', items: [ { name: 'char', type: 'collection', columns: 'auto' } ] }, buttons: [ { type: 'cancel', name: 'close', text: 'Close' } ], initialData: { id: 'myid', char: [ { text: 'At sign', value: '@', icon: '@' }, { text: 'Exclamation mark', value: '!', icon: '!' }, { text: 'Asterisk', value: '*', icon: '*' } ] }, onAction: (api, details) => { if (details.name === 'char') { // Would log '@' if the At sign is clicked these values doesn't have to be part of the state model // tslint:disable-next-line:no-console console.log({ char: details.value }); api.close(); } } };