Add style for headings
This commit is contained in:
parent
4ffc14d503
commit
ee926467ed
resources
|
@ -19,6 +19,18 @@
|
||||||
@apply bg-gray-800;
|
@apply bg-gray-800;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
h2.ce-header {
|
||||||
|
@apply font-semibold text-white text-xl mt-2;
|
||||||
|
}
|
||||||
|
|
||||||
|
h3.ce-header {
|
||||||
|
@apply font-semibold text-white text-lg mt-2;
|
||||||
|
}
|
||||||
|
|
||||||
|
h4.ce-header {
|
||||||
|
@apply font-semibold text-white mt-2;
|
||||||
|
}
|
||||||
|
|
||||||
.ce-block--selected .ce-block__content {
|
.ce-block--selected .ce-block__content {
|
||||||
@apply bg-gray-800;
|
@apply bg-gray-800;
|
||||||
}
|
}
|
||||||
|
|
|
@ -72,7 +72,7 @@ onMounted(async () => {
|
||||||
heading: {
|
heading: {
|
||||||
class: Header,
|
class: Header,
|
||||||
shortcut: 'CTRL+H',
|
shortcut: 'CTRL+H',
|
||||||
inlineToolbar: [],
|
inlineToolbar: true,
|
||||||
config: {
|
config: {
|
||||||
placeholder: 'Überschrift',
|
placeholder: 'Überschrift',
|
||||||
levels: [2, 3, 4],
|
levels: [2, 3, 4],
|
||||||
|
|
Loading…
Reference in New Issue