@schneiderelli/cms-runtime 0.1.0 → 0.1.1
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.
|
@@ -73,6 +73,38 @@
|
|
|
73
73
|
list-style-type: square;
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
+
/* Quill indent classes */
|
|
77
|
+
.csm-markdown :global(.ql-indent-1) {
|
|
78
|
+
padding-left: 3em;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.csm-markdown :global(.ql-indent-2) {
|
|
82
|
+
padding-left: 6em;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.csm-markdown :global(.ql-indent-3) {
|
|
86
|
+
padding-left: 9em;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.csm-markdown :global(.ql-indent-4) {
|
|
90
|
+
padding-left: 12em;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.csm-markdown :global(.ql-indent-5) {
|
|
94
|
+
padding-left: 15em;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
/* Subscript and Superscript */
|
|
98
|
+
.csm-markdown :global(sub) {
|
|
99
|
+
font-size: 0.75em;
|
|
100
|
+
vertical-align: sub;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.csm-markdown :global(sup) {
|
|
104
|
+
font-size: 0.75em;
|
|
105
|
+
vertical-align: super;
|
|
106
|
+
}
|
|
107
|
+
|
|
76
108
|
.csm-markdown :global(strong) {
|
|
77
109
|
font-weight: 600;
|
|
78
110
|
}
|
package/dist/registry.js
CHANGED
|
@@ -15,7 +15,7 @@ export const blockRegistry = [
|
|
|
15
15
|
type: 'markdown',
|
|
16
16
|
label: 'Text',
|
|
17
17
|
icon: '📝',
|
|
18
|
-
description: '
|
|
18
|
+
description: 'Rich-Text mit Headings, Listen, Code, Tabellen, etc.',
|
|
19
19
|
category: 'content',
|
|
20
20
|
defaults: { content: '' },
|
|
21
21
|
fields: [
|
|
@@ -28,45 +28,6 @@ export const blockRegistry = [
|
|
|
28
28
|
}
|
|
29
29
|
]
|
|
30
30
|
},
|
|
31
|
-
{
|
|
32
|
-
type: 'heading',
|
|
33
|
-
label: 'Überschrift',
|
|
34
|
-
icon: '🔤',
|
|
35
|
-
description: 'Überschrift H1-H6',
|
|
36
|
-
category: 'content',
|
|
37
|
-
defaults: { text: '', level: 2 },
|
|
38
|
-
fields: [
|
|
39
|
-
{
|
|
40
|
-
name: 'text',
|
|
41
|
-
label: 'Text',
|
|
42
|
-
type: 'text',
|
|
43
|
-
required: true,
|
|
44
|
-
placeholder: 'Überschrift eingeben...'
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
name: 'level',
|
|
48
|
-
label: 'Level',
|
|
49
|
-
type: 'select',
|
|
50
|
-
options: [
|
|
51
|
-
{ value: '1', label: 'H1 - Hauptüberschrift' },
|
|
52
|
-
{ value: '2', label: 'H2 - Abschnitt' },
|
|
53
|
-
{ value: '3', label: 'H3 - Unterabschnitt' },
|
|
54
|
-
{ value: '4', label: 'H4' },
|
|
55
|
-
{ value: '5', label: 'H5' },
|
|
56
|
-
{ value: '6', label: 'H6' }
|
|
57
|
-
]
|
|
58
|
-
}
|
|
59
|
-
]
|
|
60
|
-
},
|
|
61
|
-
{
|
|
62
|
-
type: 'divider',
|
|
63
|
-
label: 'Trennlinie',
|
|
64
|
-
icon: '➖',
|
|
65
|
-
description: 'Horizontale Trennlinie',
|
|
66
|
-
category: 'content',
|
|
67
|
-
defaults: {},
|
|
68
|
-
fields: []
|
|
69
|
-
},
|
|
70
31
|
// =========================================================================
|
|
71
32
|
// MEDIA BLOCKS
|
|
72
33
|
// =========================================================================
|
package/package.json
CHANGED