forked from nerdmed/tinymce
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.js
90 lines (84 loc) · 3.2 KB
/
package.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
Package.describe({
name: 'salmanhasni:tinymce',
version: '5.0.21',
summary: "tinymce library",
git: 'https://github.com/salmanhasni/tinymce.git',
documentation: 'README.md'
});
Package.onUse(function(api) {
api.versionsFrom('1.8.1');
// client files
api.addFiles([
// core files
'tinymce.min.js',
// plugins
'plugins/advlist/plugin.min.js',
'plugins/autoresize/plugin.min.js',
'plugins/charmap/plugin.min.js',
'plugins/colorpicker/plugin.min.js',
'plugins/emoticons/js/emojis.min.js',
'plugins/emoticons/plugin.min.js',
'plugins/fullpage/plugin.min.js',
'plugins/image/plugin.min.js',
'plugins/insertdatetime/plugin.min.js',
'plugins/lists/plugin.min.js',
'plugins/noneditable/plugin.min.js',
'plugins/preview/plugin.min.js',
'plugins/searchreplace/plugin.min.js',
'plugins/table/plugin.min.js',
'plugins/textpattern/plugin.min.js',
'plugins/visualchars/plugin.min.js',
'plugins/anchor/plugin.min.js',
'plugins/autosave/plugin.min.js',
'plugins/code/plugin.min.js',
'plugins/contextmenu/plugin.min.js',
// 'plugins/example/plugin.min.js',
'plugins/fullscreen/plugin.min.js',
'plugins/help/plugin.min.js',
'plugins/imagetools/plugin.min.js',
'plugins/legacyoutput/plugin.min.js',
'plugins/media/plugin.min.js',
'plugins/pagebreak/plugin.min.js',
'plugins/print/plugin.min.js',
'plugins/quickbars/plugin.min.js',
'plugins/spellchecker/plugin.min.js',
'plugins/template/plugin.min.js',
'plugins/toc/plugin.min.js',
'plugins/wordcount/plugin.min.js',
'plugins/autolink/plugin.min.js',
'plugins/bbcode/plugin.min.js',
'plugins/codesample/plugin.min.js',
'plugins/directionality/plugin.min.js',
// 'plugins/example_dependency/plugin.min.js',
'plugins/hr/plugin.min.js',
'plugins/importcss/plugin.min.js',
'plugins/link/plugin.min.js',
'plugins/nonbreaking/plugin.min.js',
'plugins/paste/plugin.min.js',
'plugins/save/plugin.min.js',
'plugins/tabfocus/plugin.min.js',
'plugins/textcolor/plugin.min.js',
'plugins/visualblocks/plugin.min.js',
// themes
'themes/mobile/theme.min.js',
'themes/silver/theme.min.js'
], 'client');
api.addAssets([
// skins
'skins/content/default/content.min.css',
'skins/content/document/content.min.css',
'skins/content/writer/content.min.css',
'skins/ui/oxide/fonts/tinymce-mobile.woff',
'skins/ui/oxide/content.inline.min.css',
'skins/ui/oxide/content.min.css',
'skins/ui/oxide/content.mobile.min.css',
'skins/ui/oxide/skin.min.css',
'skins/ui/oxide/skin.mobile.min.css',
'skins/ui/oxide-dark/fonts/tinymce-mobile.woff',
'skins/ui/oxide-dark/content.inline.min.css',
'skins/ui/oxide-dark/content.min.css',
'skins/ui/oxide-dark/content.mobile.min.css',
'skins/ui/oxide-dark/skin.min.css',
'skins/ui/oxide-dark/skin.mobile.min.css'
], 'client');
});