md-editor-extension
md-editor-extension copied to clipboard
exportPDF does not support oklch breaking compatibility with tailwindcss v4
As the title says, tailwindcss v4 (https://tailwindcss.com/docs/v4-beta#modernized-p3-color-palette) switched from rgb to oklch colors. html3pdf does not support that and causes an exception.
The authors of html2pdf, html3pdf and html2canvas have all become less active, which is quite a troublesome situation.☹️
Is there no alternative?
Not yet, we can only try to integrate a temporary version, and it will be time-consuming.
Try using version v4.0.0, which replaces html2pdf with window.print.