feat: TinyMCE WYSIWYG editor styles
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
@import "tailwindcss";
|
||||
@import "tailwindcss" theme(static) source("../../..");
|
||||
@import "@nuxt/ui";
|
||||
|
||||
@import "./a11y.css";
|
||||
@@ -6,3 +6,5 @@
|
||||
@import "./links.css";
|
||||
@import "./prose.css";
|
||||
@import "./typography.css";
|
||||
|
||||
@import "./vendors/tinymce.css";
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
@apply links:link-underline;
|
||||
|
||||
/* Paragraphs */
|
||||
p:not([class*="paragraph-"]) { @apply paragraph-lg; }
|
||||
p:not([class*="paragraph-"]) { @apply paragraph-base; }
|
||||
|
||||
/* Spacing */
|
||||
@apply space-y-2;
|
||||
|
||||
@@ -7,7 +7,4 @@
|
||||
|
||||
/* Paragraph styles */
|
||||
@utility paragraph-base { @apply font-sans; }
|
||||
@utility paragraph-sm { @apply paragraph-base text-sm; }
|
||||
@utility paragraph-md { @apply paragraph-base text-base; }
|
||||
@utility paragraph-lg { @apply paragraph-base text-lg; }
|
||||
@utility paragraph-xl { @apply paragraph-base text-2xl; }
|
||||
@utility paragraph-lead { @apply paragraph-base text-2xl; }
|
||||
|
||||
3
wp-content/themes/moonshine/app/assets/css/vendors/tinymce.css
vendored
Normal file
3
wp-content/themes/moonshine/app/assets/css/vendors/tinymce.css
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
body#tinymce {
|
||||
@apply prose;
|
||||
}
|
||||
Reference in New Issue
Block a user