[Bug]: Typography plugin not loaded correctly #680

Closed
opened 2025-10-17 20:17:45 +02:00 by RealZone22_placeholder_1p9ikid · 0 comments
RealZone22_placeholder_1p9ikid commented 2025-10-17 20:17:45 +02:00 (Migrated from git.cyanfox.de)

What happened?

The typography tailwind plugin does not work

How to reproduce the bug

use the announcements module and add markdown like a list or header

Project Version

2025.10.0

PHP Version

8.4

Laravel Version

12

Which operating systems does with happen with?

Linux

Notes

Possible Fix:

import forms from '@tailwindcss/forms';
import typography from '@tailwindcss/typography';
import defaultTheme from 'tailwindcss/defaultTheme';

/** `@type` {import('tailwindcss').Config} */
export default {
    darkMode: 'class',
    content: [
        './vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php',
        './storage/framework/views/*.php',
        './resources/**/*.blade.php',
        './resources/**/*.js',
        './resources/**/*.vue',
        './modules/**/*.blade.php',
        './modules/**/*.php',
        './lang/**/*.php',
        './app/**/*.php',
        './vendor/filament/**/*.blade.php',
        './vendor/masmerise/livewire-toaster/resources/views/*.blade.php',
    ],
    theme: {
        extend: {
            fontFamily: {
                sans: ['Figtree', ...defaultTheme.fontFamily.sans],
            },
        },
    },
    plugins: [forms, typography],
};
### What happened? The typography tailwind plugin does not work ### How to reproduce the bug use the announcements module and add markdown like a list or header ### Project Version 2025.10.0 ### PHP Version 8.4 ### Laravel Version 12 ### Which operating systems does with happen with? Linux ### Notes Possible Fix: ```javascript import forms from '@tailwindcss/forms'; import typography from '@tailwindcss/typography'; import defaultTheme from 'tailwindcss/defaultTheme'; /** `@type` {import('tailwindcss').Config} */ export default { darkMode: 'class', content: [ './vendor/laravel/framework/src/Illuminate/Pagination/resources/views/*.blade.php', './storage/framework/views/*.php', './resources/**/*.blade.php', './resources/**/*.js', './resources/**/*.vue', './modules/**/*.blade.php', './modules/**/*.php', './lang/**/*.php', './app/**/*.php', './vendor/filament/**/*.blade.php', './vendor/masmerise/livewire-toaster/resources/views/*.blade.php', ], theme: { extend: { fontFamily: { sans: ['Figtree', ...defaultTheme.fontFamily.sans], }, }, }, plugins: [forms, typography], };
RealZone22_placeholder_1p9ikid (Migrated from git.cyanfox.de) closed this issue 2025-10-22 13:45:35 +02:00
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
CyanFox/Base#680
No description provided.