md-editor-extension icon indicating copy to clipboard operation
md-editor-extension copied to clipboard

exportPDF does not support oklch breaking compatibility with tailwindcss v4

Open DerSimeon opened this issue 1 year ago • 3 comments

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.

DerSimeon avatar Dec 05 '24 10:12 DerSimeon

The authors of html2pdf, html3pdf and html2canvas have all become less active, which is quite a troublesome situation.☹️

imzbf avatar Dec 06 '24 02:12 imzbf

Is there no alternative?

DerSimeon avatar Dec 06 '24 08:12 DerSimeon

Not yet, we can only try to integrate a temporary version, and it will be time-consuming.

imzbf avatar Dec 06 '24 08:12 imzbf

Try using version v4.0.0, which replaces html2pdf with window.print.

imzbf avatar Sep 26 '25 08:09 imzbf