F
Filament10mo ago
Anthaas

Customising HTML tags used by Rich Editor

Is this possible? As it stands, plain HTML tags are used with no classes, and such. I would like to be able to customise this. Is there some other editor I should be using for this?
Solution:
Not every editor allows attributes on html elements. They usually have to be allowed at at the js level. Given that the richeditor in filament is a basic rich text editor you’re asking for more advanced features that would probably be more likely to be supported by a more feature rich editor plugin. There are several available. Just look through the plugins on the filament site.
Jump to solution
3 Replies
Anthaas
Anthaas10mo ago
Hmm, or is it that I just need to set CSS for classless HTML tags? Seems a bit....broad?
Solution
awcodes
awcodes10mo ago
Not every editor allows attributes on html elements. They usually have to be allowed at at the js level. Given that the richeditor in filament is a basic rich text editor you’re asking for more advanced features that would probably be more likely to be supported by a more feature rich editor plugin. There are several available. Just look through the plugins on the filament site.
Anthaas
Anthaas10mo ago
Cheers. Was the answer I needed.