@richscripts/richtexteditor 2.4.0
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.
- package/README.md +360 -0
- package/admin/index.d.ts +100 -0
- package/admin/index.js +94 -0
- package/angular/component.ts +284 -0
- package/angular/index.d.ts +80 -0
- package/angular/index.ts +24 -0
- package/headless/index.d.ts +65 -0
- package/headless/index.js +272 -0
- package/index.d.ts +1412 -0
- package/integrations/shared.d.ts +138 -0
- package/integrations/shared.js +5182 -0
- package/package.json +130 -0
- package/react/index.d.ts +104 -0
- package/react/index.js +310 -0
- package/richtexteditor/CHANGELOG.md +1876 -0
- package/richtexteditor/all_plugins.js +31125 -0
- package/richtexteditor/all_plugins.min.js +78 -0
- package/richtexteditor/lang/rte-lang-af.js +193 -0
- package/richtexteditor/lang/rte-lang-ar.js +193 -0
- package/richtexteditor/lang/rte-lang-bg.js +193 -0
- package/richtexteditor/lang/rte-lang-bn.js +193 -0
- package/richtexteditor/lang/rte-lang-bs.js +193 -0
- package/richtexteditor/lang/rte-lang-ca.js +193 -0
- package/richtexteditor/lang/rte-lang-cs.js +193 -0
- package/richtexteditor/lang/rte-lang-cy.js +193 -0
- package/richtexteditor/lang/rte-lang-da.js +193 -0
- package/richtexteditor/lang/rte-lang-de.js +193 -0
- package/richtexteditor/lang/rte-lang-el.js +193 -0
- package/richtexteditor/lang/rte-lang-en.js +6 -0
- package/richtexteditor/lang/rte-lang-es.js +193 -0
- package/richtexteditor/lang/rte-lang-et.js +193 -0
- package/richtexteditor/lang/rte-lang-fa.js +193 -0
- package/richtexteditor/lang/rte-lang-fi.js +193 -0
- package/richtexteditor/lang/rte-lang-fil.js +193 -0
- package/richtexteditor/lang/rte-lang-fj.js +193 -0
- package/richtexteditor/lang/rte-lang-fr.js +193 -0
- package/richtexteditor/lang/rte-lang-ga.js +193 -0
- package/richtexteditor/lang/rte-lang-gu.js +193 -0
- package/richtexteditor/lang/rte-lang-he.js +193 -0
- package/richtexteditor/lang/rte-lang-hi.js +193 -0
- package/richtexteditor/lang/rte-lang-hr.js +193 -0
- package/richtexteditor/lang/rte-lang-ht.js +193 -0
- package/richtexteditor/lang/rte-lang-hu.js +193 -0
- package/richtexteditor/lang/rte-lang-id.js +193 -0
- package/richtexteditor/lang/rte-lang-is.js +193 -0
- package/richtexteditor/lang/rte-lang-it.js +193 -0
- package/richtexteditor/lang/rte-lang-ja.js +193 -0
- package/richtexteditor/lang/rte-lang-kn.js +193 -0
- package/richtexteditor/lang/rte-lang-ko.js +193 -0
- package/richtexteditor/lang/rte-lang-lt.js +193 -0
- package/richtexteditor/lang/rte-lang-lv.js +193 -0
- package/richtexteditor/lang/rte-lang-mg.js +193 -0
- package/richtexteditor/lang/rte-lang-mi.js +193 -0
- package/richtexteditor/lang/rte-lang-ml.js +193 -0
- package/richtexteditor/lang/rte-lang-mr.js +193 -0
- package/richtexteditor/lang/rte-lang-ms.js +193 -0
- package/richtexteditor/lang/rte-lang-mt.js +193 -0
- package/richtexteditor/lang/rte-lang-mww.js +193 -0
- package/richtexteditor/lang/rte-lang-nb.js +193 -0
- package/richtexteditor/lang/rte-lang-nl.js +193 -0
- package/richtexteditor/lang/rte-lang-otq.js +193 -0
- package/richtexteditor/lang/rte-lang-pa.js +193 -0
- package/richtexteditor/lang/rte-lang-pl.js +193 -0
- package/richtexteditor/lang/rte-lang-pt-pt.js +193 -0
- package/richtexteditor/lang/rte-lang-pt.js +193 -0
- package/richtexteditor/lang/rte-lang-ro.js +193 -0
- package/richtexteditor/lang/rte-lang-ru.js +193 -0
- package/richtexteditor/lang/rte-lang-sk.js +193 -0
- package/richtexteditor/lang/rte-lang-sl.js +193 -0
- package/richtexteditor/lang/rte-lang-sm.js +193 -0
- package/richtexteditor/lang/rte-lang-sr-Cyrl.js +193 -0
- package/richtexteditor/lang/rte-lang-sr-Latn.js +193 -0
- package/richtexteditor/lang/rte-lang-sv.js +193 -0
- package/richtexteditor/lang/rte-lang-sw.js +193 -0
- package/richtexteditor/lang/rte-lang-ta.js +193 -0
- package/richtexteditor/lang/rte-lang-te.js +193 -0
- package/richtexteditor/lang/rte-lang-th.js +193 -0
- package/richtexteditor/lang/rte-lang-tlh-Latn.js +193 -0
- package/richtexteditor/lang/rte-lang-tlh-Piqd.js +193 -0
- package/richtexteditor/lang/rte-lang-to.js +193 -0
- package/richtexteditor/lang/rte-lang-tr.js +193 -0
- package/richtexteditor/lang/rte-lang-ty.js +193 -0
- package/richtexteditor/lang/rte-lang-uk.js +193 -0
- package/richtexteditor/lang/rte-lang-ur.js +193 -0
- package/richtexteditor/lang/rte-lang-vi.js +193 -0
- package/richtexteditor/lang/rte-lang-yua.js +193 -0
- package/richtexteditor/lang/rte-lang-zh-Hans.js +193 -0
- package/richtexteditor/lang/rte-lang-zh-Hant.js +193 -0
- package/richtexteditor/lang/rte-lang.js +1 -0
- package/richtexteditor/plugins/-combine-plugin.txt +2 -0
- package/richtexteditor/plugins/-combine-plugins.bat +20 -0
- package/richtexteditor/plugins/a11yenhance.js +90 -0
- package/richtexteditor/plugins/accessibilitychecker.js +579 -0
- package/richtexteditor/plugins/aitoolkit.css +15830 -0
- package/richtexteditor/plugins/aitoolkit.js +19171 -0
- package/richtexteditor/plugins/all_plugins.js +31125 -0
- package/richtexteditor/plugins/all_plugins.min.js +78 -0
- package/richtexteditor/plugins/autoembed.js +174 -0
- package/richtexteditor/plugins/blocktypes.js +175 -0
- package/richtexteditor/plugins/bookmarkcard.js +226 -0
- package/richtexteditor/plugins/charlimit.js +195 -0
- package/richtexteditor/plugins/comments.js +672 -0
- package/richtexteditor/plugins/contentminimap.js +369 -0
- package/richtexteditor/plugins/crdt-engine.js +8905 -0
- package/richtexteditor/plugins/crdt-engine.min.js +5 -0
- package/richtexteditor/plugins/dialoga11y.js +174 -0
- package/richtexteditor/plugins/dictation.js +268 -0
- package/richtexteditor/plugins/documentimport.js +369 -0
- package/richtexteditor/plugins/documentoutline.js +341 -0
- package/richtexteditor/plugins/emailtoolkit.js +165 -0
- package/richtexteditor/plugins/emojiautocomplete.js +241 -0
- package/richtexteditor/plugins/foldheadings.js +181 -0
- package/richtexteditor/plugins/ghostcomplete.js +297 -0
- package/richtexteditor/plugins/html2pdf.js +158 -0
- package/richtexteditor/plugins/imageeditor.js +159 -0
- package/richtexteditor/plugins/insertcode.js +319 -0
- package/richtexteditor/plugins/insertemoji.js +229 -0
- package/richtexteditor/plugins/insertgallery.js +362 -0
- package/richtexteditor/plugins/inserttemplate.js +261 -0
- package/richtexteditor/plugins/localdraft.js +213 -0
- package/richtexteditor/plugins/markdownexport.js +110 -0
- package/richtexteditor/plugins/mathdialog.js +153 -0
- package/richtexteditor/plugins/mentionplugin.js +534 -0
- package/richtexteditor/plugins/mermaiddiagram.js +294 -0
- package/richtexteditor/plugins/readabilitystats.js +148 -0
- package/richtexteditor/plugins/readaloud.js +243 -0
- package/richtexteditor/plugins/restrictedediting.js +208 -0
- package/richtexteditor/plugins/revisionhistory.js +670 -0
- package/richtexteditor/plugins/samples/insertcode_v1.js +76 -0
- package/richtexteditor/plugins/slashcommand.js +705 -0
- package/richtexteditor/plugins/smartchips.js +250 -0
- package/richtexteditor/plugins/spellcheck.js +181 -0
- package/richtexteditor/plugins/todolist.js +137 -0
- package/richtexteditor/plugins/trackedchanges.js +658 -0
- package/richtexteditor/plugins/tui.image-editor/fabric.min.js +8 -0
- package/richtexteditor/plugins/tui.image-editor/note.txt +5 -0
- package/richtexteditor/plugins/tui.image-editor/svg/icon-a.svg +235 -0
- package/richtexteditor/plugins/tui.image-editor/svg/icon-b.svg +224 -0
- package/richtexteditor/plugins/tui.image-editor/svg/icon-c.svg +224 -0
- package/richtexteditor/plugins/tui.image-editor/svg/icon-d.svg +224 -0
- package/richtexteditor/plugins/tui.image-editor/tui-code-snippet.min.js +7 -0
- package/richtexteditor/plugins/tui.image-editor/tui-color-picker.min.css +6 -0
- package/richtexteditor/plugins/tui.image-editor/tui-color-picker.min.js +7 -0
- package/richtexteditor/plugins/tui.image-editor/tui-image-editor.min.css +7 -0
- package/richtexteditor/plugins/tui.image-editor/tui-image-editor.min.js +15 -0
- package/richtexteditor/plugins/typewriter.js +203 -0
- package/richtexteditor/plugins/wordexport.js +0 -0
- package/richtexteditor/plugins/yjscollab.js +693 -0
- package/richtexteditor/plugins/zz_richtextbox_dialog_style.js +335 -0
- package/richtexteditor/rte-config.js +933 -0
- package/richtexteditor/rte.js +943 -0
- package/richtexteditor/rte_mobile.css +234 -0
- package/richtexteditor/rte_theme_default.css +4819 -0
- package/richtexteditor/runtime/colorpicker_more_ns.htm +2613 -0
- package/richtexteditor/runtime/help.htm +162 -0
- package/richtexteditor/runtime/images/1x1.gif +0 -0
- package/richtexteditor/runtime/images/cpie_Color.cur +0 -0
- package/richtexteditor/runtime/images/cpie_GradientPositionDark.gif +0 -0
- package/richtexteditor/runtime/images/cpie_GradientPositionLight.gif +0 -0
- package/richtexteditor/runtime/images/cpie_VerticalPosition.gif +0 -0
- package/richtexteditor/runtime/images/cpie_WebSafe.gif +0 -0
- package/richtexteditor/runtime/images/cpie_gradients.png +0 -0
- package/richtexteditor/runtime/images/cpns_Color.cur +0 -0
- package/richtexteditor/runtime/images/cpns_ColorSpace1.png +0 -0
- package/richtexteditor/runtime/images/cpns_ColorSpace2.png +0 -0
- package/richtexteditor/runtime/images/cpns_GradientPositionDark.gif +0 -0
- package/richtexteditor/runtime/images/cpns_GradientPositionLight.gif +0 -0
- package/richtexteditor/runtime/images/cpns_Vertical1.png +0 -0
- package/richtexteditor/runtime/images/cpns_Vertical2.png +0 -0
- package/richtexteditor/runtime/images/cpns_VerticalPosition.gif +0 -0
- package/richtexteditor/runtime/images/cpns_WebSafe.gif +0 -0
- package/richtexteditor/runtime/images/cpns_gradients.png +0 -0
- package/richtexteditor/runtime/images/cpns_hue2.png +0 -0
- package/richtexteditor/runtime/images/formbn.gif +0 -0
- package/richtexteditor/runtime/images/multiclavier.gif +0 -0
- package/richtexteditor/runtime/richtexteditor_content.css +362 -0
- package/richtexteditor/runtime/richtexteditor_preview.css +302 -0
- package/richtexteditor/runtime/richtexteditor_preview.js +1 -0
- package/server/index.d.ts +21 -0
- package/server/index.js +23 -0
- package/svelte/index.d.ts +19 -0
- package/svelte/index.js +59 -0
- package/vue/index.d.ts +94 -0
- package/vue/index.js +291 -0
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* rte_mobile.css - extras for the editor's built-in mobile toolbar.
|
|
3
|
+
*
|
|
4
|
+
* The editor already auto-swaps between `rte-toolbar-desktop` and
|
|
5
|
+
* `rte-toolbar-mobile` based on `config.maxWidthForMobile`, and adds
|
|
6
|
+
* `rte-mobile` / `rte-desktop` to its outer container. These rules layer on:
|
|
7
|
+
*
|
|
8
|
+
* - 44x44 tap targets.
|
|
9
|
+
* - A sticky, horizontally scrolling toolbar.
|
|
10
|
+
* - Bottom-sheet mounting for dropdowns, popups, dialogs, and review drawers.
|
|
11
|
+
* - 16px content font to suppress iOS auto-zoom.
|
|
12
|
+
*
|
|
13
|
+
* Rules stay scoped to the editor's `.rte-mobile` class and narrow-viewport /
|
|
14
|
+
* coarse-pointer media queries, so desktop layouts are unchanged.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
@media (max-width: 768px), (pointer: coarse) {
|
|
18
|
+
|
|
19
|
+
.richtexteditor.rte-mobile rte-toolbar.rte-toolbar-mobile {
|
|
20
|
+
display: flex !important;
|
|
21
|
+
align-items: center;
|
|
22
|
+
flex-wrap: nowrap !important;
|
|
23
|
+
gap: 2px;
|
|
24
|
+
overflow-x: auto;
|
|
25
|
+
overflow-y: hidden;
|
|
26
|
+
overscroll-behavior-x: contain;
|
|
27
|
+
white-space: nowrap;
|
|
28
|
+
-webkit-overflow-scrolling: touch;
|
|
29
|
+
touch-action: pan-x;
|
|
30
|
+
scrollbar-width: none;
|
|
31
|
+
position: sticky;
|
|
32
|
+
top: 0;
|
|
33
|
+
z-index: 5;
|
|
34
|
+
padding: 2px 4px;
|
|
35
|
+
background: #fff;
|
|
36
|
+
background-clip: padding-box;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.richtexteditor.rte-mobile rte-toolbar.rte-toolbar-mobile::-webkit-scrollbar {
|
|
40
|
+
display: none;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.richtexteditor.rte-mobile rte-toolbar.rte-toolbar-mobile rte-toolbar-group {
|
|
44
|
+
display: inline-flex;
|
|
45
|
+
align-items: center;
|
|
46
|
+
flex: 0 0 auto;
|
|
47
|
+
min-width: 0;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
/* 2026-07-02 mobile toolbar polish. Keep tap targets large, but make the
|
|
51
|
+
visual chrome tighter and make SVG sizing win over runtime inline styles. */
|
|
52
|
+
.richtexteditor.rte-mobile rte-toolbar-button,
|
|
53
|
+
.richtexteditor.rte-mobile rte-toolbar-splitbutton,
|
|
54
|
+
.richtexteditor.rte-mobile rte-toolbar-dropdown,
|
|
55
|
+
.richtexteditor.rte-mobile rte-toolbar-arrowbutton {
|
|
56
|
+
box-sizing: border-box;
|
|
57
|
+
display: inline-flex;
|
|
58
|
+
align-items: center;
|
|
59
|
+
justify-content: center;
|
|
60
|
+
min-width: 44px;
|
|
61
|
+
min-height: 44px;
|
|
62
|
+
width: auto;
|
|
63
|
+
height: auto;
|
|
64
|
+
padding: 10px;
|
|
65
|
+
border-radius: 8px;
|
|
66
|
+
color: var(--rte-icon-color, #5f6368);
|
|
67
|
+
background-clip: padding-box;
|
|
68
|
+
transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease, box-shadow 120ms ease;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.richtexteditor.rte-mobile rte-toolbar-splitbutton-direct,
|
|
72
|
+
.richtexteditor.rte-mobile rte-toolbar-splitbutton-dropdown {
|
|
73
|
+
display: inline-flex;
|
|
74
|
+
align-items: center;
|
|
75
|
+
align-self: stretch;
|
|
76
|
+
justify-content: center;
|
|
77
|
+
min-height: 24px;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.richtexteditor.rte-mobile rte-toolbar-button svg,
|
|
81
|
+
.richtexteditor.rte-mobile rte-toolbar-splitbutton svg,
|
|
82
|
+
.richtexteditor.rte-mobile rte-toolbar-dropdown svg,
|
|
83
|
+
.richtexteditor.rte-mobile rte-toolbar-arrowbutton svg {
|
|
84
|
+
display: block !important;
|
|
85
|
+
flex: 0 0 auto;
|
|
86
|
+
width: 20px !important;
|
|
87
|
+
height: 20px !important;
|
|
88
|
+
margin: 0 !important;
|
|
89
|
+
align-self: center !important;
|
|
90
|
+
color: currentColor;
|
|
91
|
+
pointer-events: none;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.richtexteditor.rte-mobile rte-toolbar-button:active,
|
|
95
|
+
.richtexteditor.rte-mobile rte-toolbar-splitbutton:active,
|
|
96
|
+
.richtexteditor.rte-mobile rte-toolbar-dropdown:active,
|
|
97
|
+
.richtexteditor.rte-mobile rte-toolbar-arrowbutton:active {
|
|
98
|
+
color: #1559d6;
|
|
99
|
+
background-color: #f3f8ff;
|
|
100
|
+
border-color: rgba(37,99,235,.14);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.richtexteditor.rte-mobile rte-toolbar-button.rte-command-active,
|
|
104
|
+
.richtexteditor.rte-mobile rte-toolbar-splitbutton.rte-command-active,
|
|
105
|
+
.richtexteditor.rte-mobile rte-toolbar-dropdown.rte-command-active,
|
|
106
|
+
.richtexteditor.rte-mobile rte-toolbar-arrowbutton.rte-command-active {
|
|
107
|
+
color: #1559d6;
|
|
108
|
+
fill: currentColor;
|
|
109
|
+
background-color: #edf6ff;
|
|
110
|
+
border-color: rgba(37,99,235,.22);
|
|
111
|
+
box-shadow: inset 0 0 0 1px rgba(37,99,235,.12);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.richtexteditor.rte-mobile rte-toolbar-button:focus-visible,
|
|
115
|
+
.richtexteditor.rte-mobile rte-toolbar-splitbutton:focus-visible,
|
|
116
|
+
.richtexteditor.rte-mobile rte-toolbar-dropdown:focus-visible,
|
|
117
|
+
.richtexteditor.rte-mobile rte-toolbar-arrowbutton:focus-visible {
|
|
118
|
+
outline: none;
|
|
119
|
+
border-color: #2563eb;
|
|
120
|
+
box-shadow: 0 0 0 2px rgba(37,99,235,.18);
|
|
121
|
+
background-color: #eef4ff;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.richtexteditor.rte-mobile rte-dropdown-panel,
|
|
125
|
+
.richtexteditor.rte-mobile rte-popup {
|
|
126
|
+
position: fixed !important;
|
|
127
|
+
left: 0 !important;
|
|
128
|
+
right: 0 !important;
|
|
129
|
+
bottom: 0 !important;
|
|
130
|
+
top: auto !important;
|
|
131
|
+
box-sizing: border-box;
|
|
132
|
+
width: 100vw;
|
|
133
|
+
max-height: min(60vh, calc(100vh - 24px));
|
|
134
|
+
border-top-left-radius: 8px;
|
|
135
|
+
border-top-right-radius: 8px;
|
|
136
|
+
border: 1px solid #e2e8f0;
|
|
137
|
+
border-bottom: none;
|
|
138
|
+
background: #fff;
|
|
139
|
+
background-clip: padding-box;
|
|
140
|
+
box-shadow: 0 -12px 32px rgba(15, 23, 42, 0.12);
|
|
141
|
+
padding: 10px 8px 22px;
|
|
142
|
+
overflow-y: auto;
|
|
143
|
+
overscroll-behavior: contain;
|
|
144
|
+
z-index: 2147483647;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.richtexteditor.rte-mobile rte-floattoolbar,
|
|
148
|
+
.richtexteditor.rte-mobile rte-floatparagraph {
|
|
149
|
+
display: none !important;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.richtexteditor.rte-mobile ~ .aitoolkit-dialog,
|
|
153
|
+
body.rte-mobile .aitoolkit-dialog {
|
|
154
|
+
left: 8px !important;
|
|
155
|
+
right: 8px !important;
|
|
156
|
+
width: auto !important;
|
|
157
|
+
max-width: none !important;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.richtexteditor.rte-mobile ~ .aitoolkit-review-drawer,
|
|
161
|
+
body.rte-mobile .aitoolkit-review-drawer,
|
|
162
|
+
.richtexteditor.rte-mobile ~ .comments-sidebar,
|
|
163
|
+
body.rte-mobile .comments-sidebar {
|
|
164
|
+
left: 0 !important;
|
|
165
|
+
right: 0 !important;
|
|
166
|
+
bottom: 0 !important;
|
|
167
|
+
top: auto !important;
|
|
168
|
+
box-sizing: border-box;
|
|
169
|
+
width: auto !important;
|
|
170
|
+
max-height: min(55vh, calc(100vh - 24px));
|
|
171
|
+
border-top-left-radius: 8px;
|
|
172
|
+
border-top-right-radius: 8px;
|
|
173
|
+
border-top: 1px solid #e2e8f0;
|
|
174
|
+
background-clip: padding-box;
|
|
175
|
+
overflow: hidden;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
.richtexteditor.rte-mobile iframe,
|
|
179
|
+
.richtexteditor.rte-mobile .rte-editable {
|
|
180
|
+
font-size: 16px;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.rte-dark.richtexteditor.rte-mobile rte-toolbar.rte-toolbar-mobile {
|
|
184
|
+
background: var(--rte-surface-raised, #1e293b);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.rte-dark.richtexteditor.rte-mobile rte-toolbar-button,
|
|
188
|
+
.rte-dark.richtexteditor.rte-mobile rte-toolbar-splitbutton,
|
|
189
|
+
.rte-dark.richtexteditor.rte-mobile rte-toolbar-dropdown,
|
|
190
|
+
.rte-dark.richtexteditor.rte-mobile rte-toolbar-arrowbutton {
|
|
191
|
+
color: var(--rte-icon-color, #cbd5e1);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.rte-dark.richtexteditor.rte-mobile rte-toolbar-button.rte-command-active,
|
|
195
|
+
.rte-dark.richtexteditor.rte-mobile rte-toolbar-splitbutton.rte-command-active,
|
|
196
|
+
.rte-dark.richtexteditor.rte-mobile rte-toolbar-dropdown.rte-command-active,
|
|
197
|
+
.rte-dark.richtexteditor.rte-mobile rte-toolbar-arrowbutton.rte-command-active {
|
|
198
|
+
color: #bfdbfe;
|
|
199
|
+
background-color: #1e3a5f;
|
|
200
|
+
border-color: rgba(96,165,250,.46);
|
|
201
|
+
box-shadow: inset 0 0 0 1px rgba(96,165,250,.24);
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
@media (prefers-color-scheme: dark) {
|
|
205
|
+
.richtexteditor.rte-mobile:not(.rte-light) rte-toolbar.rte-toolbar-mobile {
|
|
206
|
+
background: var(--rte-surface-raised, #1e293b);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.richtexteditor.rte-mobile:not(.rte-light) rte-toolbar-button,
|
|
210
|
+
.richtexteditor.rte-mobile:not(.rte-light) rte-toolbar-splitbutton,
|
|
211
|
+
.richtexteditor.rte-mobile:not(.rte-light) rte-toolbar-dropdown,
|
|
212
|
+
.richtexteditor.rte-mobile:not(.rte-light) rte-toolbar-arrowbutton {
|
|
213
|
+
color: var(--rte-icon-color, #cbd5e1);
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
.richtexteditor.rte-mobile:not(.rte-light) rte-toolbar-button.rte-command-active,
|
|
217
|
+
.richtexteditor.rte-mobile:not(.rte-light) rte-toolbar-splitbutton.rte-command-active,
|
|
218
|
+
.richtexteditor.rte-mobile:not(.rte-light) rte-toolbar-dropdown.rte-command-active,
|
|
219
|
+
.richtexteditor.rte-mobile:not(.rte-light) rte-toolbar-arrowbutton.rte-command-active {
|
|
220
|
+
color: #bfdbfe;
|
|
221
|
+
background-color: #1e3a5f;
|
|
222
|
+
border-color: rgba(96,165,250,.46);
|
|
223
|
+
box-shadow: inset 0 0 0 1px rgba(96,165,250,.24);
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
.rte-force-mobile .richtexteditor rte-toolbar.rte-toolbar-mobile {
|
|
229
|
+
display: flex !important;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.rte-force-mobile .richtexteditor rte-toolbar.rte-toolbar-desktop {
|
|
233
|
+
display: none !important;
|
|
234
|
+
}
|