Closed DevYSM closed 3 months ago
@awcodes Can you help me?
well, you missed some steps about the styling and custom theme.
But your overriding the tools with an empty array so they aren't getting registered with the tiptap js editor. ->tools()
should never be an empty array. :)
well, you missed some steps about the styling and custom theme.
But your overriding the tools with an empty array so they aren't getting registered with the tiptap js editor.
->tools()
should never be an empty array. :)
Thanks, It's working now.
Your styles are still not getting loaded correctly. That's why you're seeing the blue ring around the buttons.
Probably has to do with your tailwind.config.js not using the filament preset.
glad you got it working though. cheers.
glad you got it working though. cheers.
All appreciate for you. <3
Filament Version
v3
Plugin Version
3
PHP Version
8.1
Problem description
Hello Dears, I have installed the plugin and followed the installation guide and everything is good but after I used the editor I got the following issue.
Uncaught TypeError: editor(...).chain(...).focus(...).toggleCodeBlock is not a function at [Alpine] editor().chain().focus().toggleCodeBlock().run() (eval at safeAsyncFunction (http://new-bayern-web-app.test/livewire/livewire.js?id=d02a3788:1251:21),:3:57)
at livewire.js?id=d02a3788:1273:23
at tryCatch (livewire.js?id=d02a3788:1193:14)
at livewire.js?id=d02a3788:3787:7
at handler4 (livewire.js?id=d02a3788:3114:27)
at livewire.js?id=d02a3788:3179:7
at HTMLButtonElement. (livewire.js?id=d02a3788:3116:54)
Expected behavior
The expected is working normally after installation.
Steps to reproduce
Reproduction repository
No response
Relevant log output
No response