Replies: 1 comment
-
I was thinking, a workaround for Link popup would be to allow user/developer to set a different popup when using RickEditor field. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey all, first of all, thank you for doing such a great job with Filament!
TL;DR: extending RichEditor:
I think the use of TipTap for RichEditor form field was a great move as it allows a whole bunch of new features and extensibility. It works great, but I am missing a Table extension.
I know that is it possible to create a custom plugin for it, and I am playing with this now, but I am wondering if perhaps this could be included in core as well, as I feel this is a pretty basic requirement for WYSIWYG editor - or maybe just our clients are very specific and really like tables :)
The second thing I feel like could be a bit extended is 'insert link' toolbar action. Currently it supports writing a url and selecting target. We noticed that using url as string can lead to either a lot of manual changes or not correct urls when users link to internal pages. One example how this can be solved is in Twill CMS (also using TipTap), where user picks a model from list, TipTap stores model class and ID (primary column) and renderer then replaces this string with Model url:

Another possible addition to Link popup would be to allow developer to define array of custom classes that user could then attach to link, turing it into CTA for example:

I am aware that both of those Link additions could be achieved using custom block, but it would look out of place - especially for picking internal model. CTA as a block is more obvious, as is also a part of documentation, but would require to duplicate what Link action already does.
What do you think?
Beta Was this translation helpful? Give feedback.
All reactions