Closed AngadSethi closed 2 months ago
I've tracked this down to a bug in the DOMSerializer in the tiptap-php package. Not much that can be done at this point.
Oh, I'll raise this issue in tiptap-php
then, @awcodes. Thanks a lot for checking this out!
Filament Version
v3.2.75
Plugin Version
v3.3.3
PHP Version
PHP 8.1
Problem description
When I add a code block to the editor with some random code or text, and save it, the resultant HTML has two extra
</pre>
and</code>
tags.For example, writing this:
Gets stores like this in my database:
Expected behavior
That the output would contain just one set of closing tags, not two.
Steps to reproduce
Article
and add some text to it, and save it.Reproduction repository
https://github.com/AngadSethi/tiptap-editor-replicate-error
Relevant log output
No response