vditor 3.8.11 → 3.8.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index.min.js +1 -1
  3. package/dist/js/highlight.js/styles/abap.css +89 -0
  4. package/dist/js/highlight.js/styles/algol.css +98 -0
  5. package/dist/js/highlight.js/styles/algol_nu.css +45 -0
  6. package/dist/js/highlight.js/styles/arduino.css +90 -0
  7. package/dist/js/highlight.js/styles/autumn.css +71 -0
  8. package/dist/js/highlight.js/styles/borland.css +88 -0
  9. package/dist/js/highlight.js/styles/bw.css +102 -0
  10. package/dist/js/highlight.js/styles/colorful.css +85 -0
  11. package/dist/js/highlight.js/styles/dracula.css +78 -0
  12. package/dist/js/highlight.js/styles/emacs.css +97 -0
  13. package/dist/js/highlight.js/styles/friendly.css +113 -0
  14. package/dist/js/highlight.js/styles/fruity.css +71 -0
  15. package/dist/js/highlight.js/styles/github.css +100 -0
  16. package/dist/js/highlight.js/styles/igor.css +85 -0
  17. package/dist/js/highlight.js/styles/lovelace.css +71 -0
  18. package/dist/js/highlight.js/styles/manni.css +69 -0
  19. package/dist/js/highlight.js/styles/monokai.css +71 -0
  20. package/dist/js/highlight.js/styles/monokailight.css +108 -0
  21. package/dist/js/highlight.js/styles/murphy.css +71 -0
  22. package/dist/js/highlight.js/styles/native.css +97 -0
  23. package/dist/js/highlight.js/styles/paraiso-dark.css +73 -0
  24. package/dist/js/highlight.js/styles/paraiso-light.css +72 -0
  25. package/dist/js/highlight.js/styles/pastie.css +108 -0
  26. package/dist/js/highlight.js/styles/perldoc.css +74 -0
  27. package/dist/js/highlight.js/styles/pygments.css +89 -0
  28. package/dist/js/highlight.js/styles/rainbow_dash.css +97 -0
  29. package/dist/js/highlight.js/styles/rrt.css +113 -0
  30. package/dist/js/highlight.js/styles/solarized-dark.css +85 -0
  31. package/dist/js/highlight.js/styles/solarized-dark256.css +84 -0
  32. package/dist/js/highlight.js/styles/solarized-light.css +84 -0
  33. package/dist/js/highlight.js/styles/swapoff.css +92 -0
  34. package/dist/js/highlight.js/styles/tango.css +99 -0
  35. package/dist/js/highlight.js/styles/trac.css +99 -0
  36. package/dist/js/highlight.js/styles/vim.css +83 -0
  37. package/dist/js/highlight.js/styles/vs.css +69 -0
  38. package/dist/js/highlight.js/styles/xcode.css +105 -0
  39. package/dist/method.min.js +1 -1
  40. package/dist/ts/toolbar/Emoji.d.ts +1 -1
  41. package/package.json +1 -1
  42. package/src/ts/toolbar/Emoji.ts +19 -20
  43. package/src/ts/undo/index.ts +3 -0
  44. package/src/ts/upload/index.ts +1 -1
  45. package/src/ts/wysiwyg/highlightToolbarWYSIWYG.ts +11 -16
@@ -82,3 +82,102 @@
82
82
  /* GenericTraceback */ .highlight-chroma .highlight-gt { color: #a40000; font-weight: bold }
83
83
  /* GenericUnderline */ .highlight-chroma .highlight-gl { color: #000000; text-decoration: underline }
84
84
  /* TextWhitespace */ .highlight-chroma .highlight-w { color: #f8f8f8; text-decoration: underline }
85
+ /* a11y-light theme */
86
+ /* Based on the Tomorrow Night Eighties theme: https://github.com/isagalaev/highlight.js/blob/master/src/styles/tomorrow-night-eighties.css */
87
+ /* @author: ericwbailey */
88
+
89
+ /* Comment */
90
+ .hljs-comment,
91
+ .hljs-quote {
92
+ color: #696969;
93
+ }
94
+
95
+ /* Red */
96
+ .hljs-variable,
97
+ .hljs-template-variable,
98
+ .hljs-tag,
99
+ .hljs-name,
100
+ .hljs-selector-id,
101
+ .hljs-selector-class,
102
+ .hljs-regexp,
103
+ .hljs-deletion {
104
+ color: #d91e18;
105
+ }
106
+
107
+ /* Orange */
108
+ .hljs-number,
109
+ .hljs-built_in,
110
+ .hljs-builtin-name,
111
+ .hljs-literal,
112
+ .hljs-type,
113
+ .hljs-params,
114
+ .hljs-meta,
115
+ .hljs-link {
116
+ color: #aa5d00;
117
+ }
118
+
119
+ /* Yellow */
120
+ .hljs-attribute {
121
+ color: #aa5d00;
122
+ }
123
+
124
+ /* Green */
125
+ .hljs-string,
126
+ .hljs-symbol,
127
+ .hljs-bullet,
128
+ .hljs-addition {
129
+ color: #008000;
130
+ }
131
+
132
+ /* Blue */
133
+ .hljs-title,
134
+ .hljs-section {
135
+ color: #007faa;
136
+ }
137
+
138
+ /* Purple */
139
+ .hljs-keyword,
140
+ .hljs-selector-tag {
141
+ color: #7928a1;
142
+ }
143
+
144
+ .hljs {
145
+ display: block;
146
+ overflow-x: auto;
147
+ background: #fefefe;
148
+ color: #545454;
149
+ padding: 0.5em;
150
+ }
151
+
152
+ .hljs-emphasis {
153
+ font-style: italic;
154
+ }
155
+
156
+ .hljs-strong {
157
+ font-weight: bold;
158
+ }
159
+
160
+ @media screen and (-ms-high-contrast: active) {
161
+ .hljs-addition,
162
+ .hljs-attribute,
163
+ .hljs-built_in,
164
+ .hljs-builtin-name,
165
+ .hljs-bullet,
166
+ .hljs-comment,
167
+ .hljs-link,
168
+ .hljs-literal,
169
+ .hljs-meta,
170
+ .hljs-number,
171
+ .hljs-params,
172
+ .hljs-string,
173
+ .hljs-symbol,
174
+ .hljs-type,
175
+ .hljs-quote {
176
+ color: highlight;
177
+ }
178
+
179
+ .hljs-keyword,
180
+ .hljs-selector-tag {
181
+ font-weight: bold;
182
+ }
183
+ }
@@ -66,3 +66,102 @@
66
66
  /* GenericTraceback */ .highlight-chroma .highlight-gt { color: #aa0000 }
67
67
  /* GenericUnderline */ .highlight-chroma .highlight-gl { text-decoration: underline }
68
68
  /* TextWhitespace */ .highlight-chroma .highlight-w { color: #bbbbbb }
69
+ /*
70
+
71
+ Original highlight.js style (c) Ivan Sagalaev <maniac@softwaremaniacs.org>
72
+
73
+ */
74
+
75
+ .hljs {
76
+ display: block;
77
+ overflow-x: auto;
78
+ padding: 0.5em;
79
+ background: #F0F0F0;
80
+ }
81
+
82
+
83
+ /* Base color: saturation 0; */
84
+
85
+ .hljs,
86
+ .hljs-subst {
87
+ color: #444;
88
+ }
89
+
90
+ .hljs-comment {
91
+ color: #888888;
92
+ }
93
+
94
+ .hljs-keyword,
95
+ .hljs-attribute,
96
+ .hljs-selector-tag,
97
+ .hljs-meta-keyword,
98
+ .hljs-doctag,
99
+ .hljs-name {
100
+ font-weight: bold;
101
+ }
102
+
103
+
104
+ /* User color: hue: 0 */
105
+
106
+ .hljs-type,
107
+ .hljs-string,
108
+ .hljs-number,
109
+ .hljs-selector-id,
110
+ .hljs-selector-class,
111
+ .hljs-quote,
112
+ .hljs-template-tag,
113
+ .hljs-deletion {
114
+ color: #880000;
115
+ }
116
+
117
+ .hljs-title,
118
+ .hljs-section {
119
+ color: #880000;
120
+ font-weight: bold;
121
+ }
122
+
123
+ .hljs-regexp,
124
+ .hljs-symbol,
125
+ .hljs-variable,
126
+ .hljs-template-variable,
127
+ .hljs-link,
128
+ .hljs-selector-attr,
129
+ .hljs-selector-pseudo {
130
+ color: #BC6060;
131
+ }
132
+
133
+
134
+ /* Language color: hue: 90; */
135
+
136
+ .hljs-literal {
137
+ color: #78A960;
138
+ }
139
+
140
+ .hljs-built_in,
141
+ .hljs-bullet,
142
+ .hljs-code,
143
+ .hljs-addition {
144
+ color: #397300;
145
+ }
146
+
147
+
148
+ /* Meta color: hue: 200 */
149
+
150
+ .hljs-meta {
151
+ color: #1f7199;
152
+ }
153
+
154
+ .hljs-meta-string {
155
+ color: #4d99bf;
156
+ }
157
+
158
+
159
+ /* Misc effects */
160
+
161
+ .hljs-emphasis {
162
+ font-style: italic;
163
+ }
164
+
165
+ .hljs-strong {
166
+ font-weight: bold;
167
+ }
@@ -59,3 +59,86 @@
59
59
  /* GenericSubheading */ .highlight-chroma .highlight-gu { color: #800080; font-weight: bold }
60
60
  /* GenericTraceback */ .highlight-chroma .highlight-gt { color: #0044dd }
61
61
  /* GenericUnderline */ .highlight-chroma .highlight-gl { text-decoration: underline }
62
+ /*
63
+
64
+ Qt Creator dark color scheme
65
+
66
+ */
67
+
68
+ .hljs {
69
+ display: block;
70
+ overflow-x: auto;
71
+ padding: 0.5em;
72
+ background: #000000;
73
+ }
74
+
75
+ .hljs,
76
+ .hljs-subst,
77
+ .hljs-tag,
78
+ .hljs-title {
79
+ color: #aaaaaa;
80
+ }
81
+
82
+ .hljs-strong,
83
+ .hljs-emphasis {
84
+ color: #a8a8a2;
85
+ }
86
+
87
+ .hljs-bullet,
88
+ .hljs-quote,
89
+ .hljs-number,
90
+ .hljs-regexp,
91
+ .hljs-literal {
92
+ color: #ff55ff;
93
+ }
94
+
95
+ .hljs-code
96
+ .hljs-selector-class {
97
+ color: #aaaaff;
98
+ }
99
+
100
+ .hljs-emphasis,
101
+ .hljs-stronge,
102
+ .hljs-type {
103
+ font-style: italic;
104
+ }
105
+
106
+ .hljs-keyword,
107
+ .hljs-selector-tag,
108
+ .hljs-function,
109
+ .hljs-section,
110
+ .hljs-symbol,
111
+ .hljs-name {
112
+ color: #ffff55;
113
+ }
114
+
115
+ .hljs-attribute {
116
+ color: #ff5555;
117
+ }
118
+
119
+ .hljs-variable,
120
+ .hljs-params,
121
+ .hljs-class .hljs-title {
122
+ color: #8888ff;
123
+ }
124
+
125
+ .hljs-string,
126
+ .hljs-selector-id,
127
+ .hljs-selector-attr,
128
+ .hljs-selector-pseudo,
129
+ .hljs-type,
130
+ .hljs-built_in,
131
+ .hljs-builtin-name,
132
+ .hljs-template-tag,
133
+ .hljs-template-variable,
134
+ .hljs-addition,
135
+ .hljs-link {
136
+ color: #ff55ff;
137
+ }
138
+
139
+ .hljs-comment,
140
+ .hljs-meta,
141
+ .hljs-deletion {
142
+ color: #55ffff;
143
+ }
144
+
@@ -42,3 +42,72 @@
42
42
  /* GenericPrompt */ .highlight-chroma .highlight-gp { font-weight: bold }
43
43
  /* GenericStrong */ .highlight-chroma .highlight-gs { font-weight: bold }
44
44
  /* GenericSubheading */ .highlight-chroma .highlight-gu { font-weight: bold }
45
+ /*
46
+
47
+ Visual Studio-like style based on original C# coloring by Jason Diamond <jason@diamond.name>
48
+
49
+ */
50
+ .hljs {
51
+ display: block;
52
+ overflow-x: auto;
53
+ padding: 0.5em;
54
+ background: white;
55
+ color: black;
56
+ }
57
+
58
+ .hljs-comment,
59
+ .hljs-quote,
60
+ .hljs-variable {
61
+ color: #008000;
62
+ }
63
+
64
+ .hljs-keyword,
65
+ .hljs-selector-tag,
66
+ .hljs-built_in,
67
+ .hljs-name,
68
+ .hljs-tag {
69
+ color: #00f;
70
+ }
71
+
72
+ .hljs-string,
73
+ .hljs-title,
74
+ .hljs-section,
75
+ .hljs-attribute,
76
+ .hljs-literal,
77
+ .hljs-template-tag,
78
+ .hljs-template-variable,
79
+ .hljs-type,
80
+ .hljs-addition {
81
+ color: #a31515;
82
+ }
83
+
84
+ .hljs-deletion,
85
+ .hljs-selector-attr,
86
+ .hljs-selector-pseudo,
87
+ .hljs-meta {
88
+ color: #2b91af;
89
+ }
90
+
91
+ .hljs-doctag {
92
+ color: #808080;
93
+ }
94
+
95
+ .hljs-attr {
96
+ color: #f00;
97
+ }
98
+
99
+ .hljs-symbol,
100
+ .hljs-bullet,
101
+ .hljs-link {
102
+ color: #00b0e8;
103
+ }
104
+
105
+
106
+ .hljs-emphasis {
107
+ font-style: italic;
108
+ }
109
+
110
+ .hljs-strong {
111
+ font-weight: bold;
112
+ }
113
+
@@ -67,3 +67,108 @@
67
67
  /* CommentSpecial */ .highlight-chroma .highlight-cs { color: #177500 }
68
68
  /* CommentPreproc */ .highlight-chroma .highlight-cp { color: #633820 }
69
69
  /* CommentPreprocFile */ .highlight-chroma .highlight-cpf { color: #633820 }
70
+ /*
71
+
72
+ XCode style (c) Angel Garcia <angelgarcia.mail@gmail.com>
73
+
74
+ */
75
+
76
+ .hljs {
77
+ display: block;
78
+ overflow-x: auto;
79
+ padding: 0.5em;
80
+ background: #fff;
81
+ color: black;
82
+ }
83
+
84
+ /* Gray DOCTYPE selectors like WebKit */
85
+ .xml .hljs-meta {
86
+ color: #c0c0c0;
87
+ }
88
+
89
+ .hljs-comment,
90
+ .hljs-quote {
91
+ color: #007400;
92
+ }
93
+
94
+ .hljs-tag,
95
+ .hljs-attribute,
96
+ .hljs-keyword,
97
+ .hljs-selector-tag,
98
+ .hljs-literal,
99
+ .hljs-name {
100
+ color: #aa0d91;
101
+ }
102
+
103
+ .hljs-variable,
104
+ .hljs-template-variable {
105
+ color: #3F6E74;
106
+ }
107
+
108
+ .hljs-code,
109
+ .hljs-string,
110
+ .hljs-meta-string {
111
+ color: #c41a16;
112
+ }
113
+
114
+ .hljs-regexp,
115
+ .hljs-link {
116
+ color: #0E0EFF;
117
+ }
118
+
119
+ .hljs-title,
120
+ .hljs-symbol,
121
+ .hljs-bullet,
122
+ .hljs-number {
123
+ color: #1c00cf;
124
+ }
125
+
126
+ .hljs-section,
127
+ .hljs-meta {
128
+ color: #643820;
129
+ }
130
+
131
+
132
+ .hljs-class .hljs-title,
133
+ .hljs-type,
134
+ .hljs-built_in,
135
+ .hljs-builtin-name,
136
+ .hljs-params {
137
+ color: #5c2699;
138
+ }
139
+
140
+ .hljs-attr {
141
+ color: #836C28;
142
+ }
143
+
144
+ .hljs-subst {
145
+ color: #000;
146
+ }
147
+
148
+ .hljs-formula {
149
+ background-color: #eee;
150
+ font-style: italic;
151
+ }
152
+
153
+ .hljs-addition {
154
+ background-color: #baeeba;
155
+ }
156
+
157
+ .hljs-deletion {
158
+ background-color: #ffc8bd;
159
+ }
160
+
161
+ .hljs-selector-id,
162
+ .hljs-selector-class {
163
+ color: #9b703f;
164
+ }
165
+
166
+ .hljs-doctag,
167
+ .hljs-strong {
168
+ font-weight: bold;
169
+ }
170
+
171
+ .hljs-emphasis {
172
+ font-style: italic;
173
+ }
174
+