Replies: 3 comments 1 reply
-
You're not building your js file and registering it with the config. |
Beta Was this translation helpful? Give feedback.
-
You have extension styles but not extension js. |
Beta Was this translation helpful? Give feedback.
-
Ok now it seems to work however my link is not rendered. This is my action class:
As you can see the insertFromAction passes "link" as type value, but when the link is inserted in the content there are no extra attributes like linktype, resource and internal.
and even in my php class, what i'm doing wrong? Maybe the type passed to insertFromAction should be diferent from "link"? And in that case how con i extend the insertFromAction behaviour? |
Beta Was this translation helpful? Give feedback.
-
Hello, i need to create an extension to extend the link plugin. I followed your instructions, created all the files and configured vite.config.js, executed npm run dev and php artisan serve but when i open the page with the editor i see this in the browser console:
Uncaught SyntaxError: Cannot use import statement outside a module (at extensions.js:1:1)
This is my "extensions.js":
and in the filament-tiptap-editor.php I put this configuration for the extensions section:
what I'm doing wrong?
Thank you in advance!
Beta Was this translation helpful? Give feedback.
All reactions