feat: editor-styles

This commit is contained in:
2026-03-26 11:35:49 -04:00
parent 71edb3d676
commit 9cceda06de
8 changed files with 99 additions and 1 deletions

View File

@@ -0,0 +1,3 @@
body#tinymce {
@apply prose;
}

View 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;
}
}