@streamscloud/kit 0.19.2 → 0.19.3
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.
|
@@ -53,8 +53,8 @@ onMount(async () => {
|
|
|
53
53
|
await Promise.all([
|
|
54
54
|
import('hugerte/models/dom'),
|
|
55
55
|
import('hugerte/themes/silver'),
|
|
56
|
-
AppTheme.isDarkMode ? import('hugerte/skins/ui/
|
|
57
|
-
import('hugerte/skins/ui/
|
|
56
|
+
AppTheme.isDarkMode ? import('hugerte/skins/ui/hugerte-5-dark/skin.js') : import('hugerte/skins/ui/hugerte-5/skin.js'),
|
|
57
|
+
import('hugerte/skins/ui/hugerte-5/content.inline.js'),
|
|
58
58
|
import('hugerte/icons/default'),
|
|
59
59
|
import('hugerte/plugins/advlist'),
|
|
60
60
|
import('hugerte/plugins/link'),
|
|
@@ -64,11 +64,8 @@ onMount(async () => {
|
|
|
64
64
|
const initOptions = {
|
|
65
65
|
target: elementRef,
|
|
66
66
|
inline: true,
|
|
67
|
-
//
|
|
68
|
-
|
|
69
|
-
// breaks toolbar rendering). `content_css: false` skips the redundant content-CSS
|
|
70
|
-
// fetch — inline mode renders into our host DOM, no iframe content CSS needed.
|
|
71
|
-
skin_url: 'default',
|
|
67
|
+
// Must match the injected skin's resource key (`ui/<skin_url>/skin.css`) or HugeRTE fetches it over the network and 404s.
|
|
68
|
+
skin_url: 'hugerte-5',
|
|
72
69
|
content_css: false,
|
|
73
70
|
fixed_toolbar_container: options?.fixedToolbarId ? `#${options.fixedToolbarId}` : undefined,
|
|
74
71
|
fixed_toolbar_container_target: options?.fixedToolbarId ? undefined : toolbarRef,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
declare module 'hugerte/models/dom';
|
|
2
2
|
declare module 'hugerte/themes/silver';
|
|
3
3
|
declare module 'hugerte/icons/default';
|
|
4
|
-
declare module 'hugerte/skins/ui/
|
|
5
|
-
declare module 'hugerte/skins/ui/
|
|
6
|
-
declare module 'hugerte/skins/ui/
|
|
4
|
+
declare module 'hugerte/skins/ui/hugerte-5/skin.js';
|
|
5
|
+
declare module 'hugerte/skins/ui/hugerte-5-dark/skin.js';
|
|
6
|
+
declare module 'hugerte/skins/ui/hugerte-5/content.inline.js';
|
|
7
7
|
declare module 'hugerte/plugins/advlist';
|
|
8
8
|
declare module 'hugerte/plugins/link';
|
|
9
9
|
declare module 'hugerte/plugins/lists';
|