filament-tiptap-editor icon indicating copy to clipboard operation
filament-tiptap-editor copied to clipboard

After saving styling for the first time and refreshing the page, the styling cannot be changed.

Open mybouhssina opened this issue 1 month ago • 3 comments

Filament Version

3.2.133

Plugin Version

3.5.3

PHP Version

8.2

Problem description

I tried this with both color and alignment (default) extensions, once you set it, save and reload the page it cannot be changed any longer. Here is a video that explain the problem: 2025-01-16.webm There is no output in the console. As you can see in the video there is a double ";" that is added to the end of the text. The problem disappears when I remove StyleExtension in TiptapConverter.php@62 (I m not sure what s the role of that extension, if someone can kindly explain it to me I would appreciate it.) Thank you, Youssef.

Expected behavior

Should be able to change style attributes after saving and reloading the page.

Steps to reproduce

Watch the video 2025-01-16.webm

Reproduction repository

https://github.com/mybouhssina/filament-tiptap-bug-repro

Relevant log output

No response

mybouhssina avatar Jan 16 '25 03:01 mybouhssina