payload icon indicating copy to clipboard operation
payload copied to clipboard

feat(richtext-lexical): add disableListColumn to lexicalHTMLField args

Open romainpi opened this issue 2 months ago • 0 comments

… Hello there!

Patch

A small patch that does two things:

  1. Hides (by default) the lexicalHTMLField from the list columns (the same way lexicalHTMLField has admin.hidden set to true by default).
  2. Allows you to set admin.disableListColumn to false (the same way lexicalHTMLField allows you to set admin.hidden to false).

Why

  • Because having the converted html code in the collecion list on by default can look jarring.
  • I am able to set admin.disableListColumn for 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.

romainpi avatar Oct 17 '25 13:10 romainpi