feat: editor-styles
This commit is contained in:
3
wp-content/themes/headless/app/assets/css/vendors/tinymce.css
vendored
Normal file
3
wp-content/themes/headless/app/assets/css/vendors/tinymce.css
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
body#tinymce {
|
||||
@apply prose;
|
||||
}
|
||||
39
wp-content/themes/headless/app/assets/css/vendors/wordpress.css
vendored
Normal file
39
wp-content/themes/headless/app/assets/css/vendors/wordpress.css
vendored
Normal file
@@ -0,0 +1,39 @@
|
||||
@utility wordpress {
|
||||
/* Alignment */
|
||||
.alignleft {
|
||||
@apply float-left mr-6;
|
||||
}
|
||||
.alignright {
|
||||
@apply float-right ml-6;
|
||||
}
|
||||
.aligncenter {
|
||||
@apply mx-auto block;
|
||||
}
|
||||
|
||||
/* Image */
|
||||
img {
|
||||
@apply h-auto max-w-full;
|
||||
}
|
||||
figure {
|
||||
@apply max-w-full;
|
||||
}
|
||||
|
||||
/* Caption */
|
||||
.wp-caption {
|
||||
@apply text-center;
|
||||
}
|
||||
.wp-caption-text,
|
||||
figcaption {
|
||||
@apply mt-3 text-sm text-muted;
|
||||
}
|
||||
|
||||
/* Video */
|
||||
.wp-video {
|
||||
@apply w-full;
|
||||
}
|
||||
|
||||
/* IFrame */
|
||||
iframe {
|
||||
@apply aspect-video w-full;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user