Adding custom actions #455
Replies: 5 comments 5 replies
-
What are you trying to accomplish? There's an inherit problem with trying to store any URLs with tokens in the database, because they will mostly likely be expired by the time they are read back out in the future. But that's an issue at a conceptual level and not an issue specifically with the plugin. Any wysiwyg type editor will have the same problem. |
Beta Was this translation helpful? Give feedback.
-
I want to add a custom button to the tool bar with a filament form but don't want to replace the link or media buttons. Ultimately to allow the user to insert attribute placeholders like |
Beta Was this translation helpful? Give feedback.
-
There's nothing stopping you from adding your own button with its own functionality. |
Beta Was this translation helpful? Give feedback.
-
Sounds like you are just trying to make a merge tag though. But I'm sure I'm not fully understanding your use case. |
Beta Was this translation helpful? Give feedback.
-
Yes exactly a merge tag for templates |
Beta Was this translation helpful? Give feedback.
-
The docs say we can override links and media actions but i need both of those.
I'm trying to add a custom action to add tokens to the editor. Would it be possible to update the HasCustomActions concern to allow as many as we like with something like this:-
Beta Was this translation helpful? Give feedback.
All reactions