OXIESEC PANEL
- Current Dir:
/
/
var
/
www
/
reader
/
_backup
/
tinymce
/
tinymce
/
src
/
themes
/
silver
/
main
/
ts
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
02/20/2020 06:33:47 AM
rwxr-xr-x
📄
Autocompleter.ts
5.13 KB
02/20/2020 06:45:58 AM
rw-r--r--
📄
ContextToolbar.ts
8 KB
02/20/2020 06:45:59 AM
rw-r--r--
📄
Events.ts
3.03 KB
02/20/2020 06:46:00 AM
rw-r--r--
📄
InlinePopup.ts
1.55 KB
02/20/2020 06:46:01 AM
rw-r--r--
📄
Render.ts
10.12 KB
02/20/2020 06:46:01 AM
rw-r--r--
📄
Theme.ts
1.4 KB
02/20/2020 06:46:02 AM
rw-r--r--
📁
alien
-
02/20/2020 06:33:51 AM
rwxr-xr-x
📁
api
-
02/20/2020 06:33:51 AM
rwxr-xr-x
📁
backstage
-
02/20/2020 06:33:58 AM
rwxr-xr-x
📁
modes
-
02/20/2020 06:34:02 AM
rwxr-xr-x
📁
ui
-
02/20/2020 06:40:48 AM
rwxr-xr-x
Editing: Theme.ts
Close
/** * Copyright (c) Tiny Technologies, Inc. All rights reserved. * Licensed under the LGPL or a commercial license. * For LGPL see License.txt in the project root for license information. * For commercial licenses see https://www.tiny.cloud/ */ import { Debugging } from '@ephox/alloy'; import { Fun, Id } from '@ephox/katamari'; import ThemeManager, { Theme } from 'tinymce/core/api/ThemeManager'; import NotificationManagerImpl from './alien/NotificationManagerImpl'; import { Autocompleter } from './Autocompleter'; import Render, { RenderInfo } from './Render'; import FormatControls from './ui/core/FormatControls'; import WindowManager from './ui/dialog/WindowManager'; ThemeManager.add('silver', (editor): Theme => { const { mothership, uiMothership, backstage, renderUI, getUi }: RenderInfo = Render.setup(editor); FormatControls.setup(editor, backstage); Debugging.registerInspector(Id.generate('silver-demo'), mothership); Debugging.registerInspector(Id.generate('silver-ui-demo'), uiMothership); Autocompleter.register(editor, backstage.shared); const windowMgr = WindowManager.setup({ editor, backstage }); return { renderUI, getWindowManagerImpl: Fun.constant(windowMgr), getNotificationManagerImpl: () => { return NotificationManagerImpl(editor, {backstage}, uiMothership); }, // TODO: move to editor.ui namespace ui: getUi() }; }); export default function () { }