payload
payload copied to clipboard
feat(richtext-lexical): add disableListColumn to lexicalHTMLField args
… Hello there!
Patch
A small patch that does two things:
- Hides (by default) the
lexicalHTMLFieldfrom the list columns (the same waylexicalHTMLFieldhasadmin.hiddenset to true by default). - Allows you to set
admin.disableListColumnto false (the same waylexicalHTMLFieldallows you to setadmin.hiddento false).
Why
- Because having the converted html code in the collecion list on by default can look jarring.
- I am able to set
admin.disableListColumnfor the richtext field but not for the corresponding _html field.
Suggestion
Suggestion: Adding the whole admin: FieldAdmin property to lexicalHTMLField sounds like a simple way to reduce redundancy and allow us to do things like show the field on the sidebar.