feat(richtext-lexical): full admin object #14282
Open
+26
−3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Hey, this is the full alternative to #14235
To recall this was in order to have
lexicalHTML
fields hidden from the list views by default withdisableListColumn
set to true by default.This patch brings the full
admin
object:FieldAdmin
type from payload core package for proper typingadmin
param to lexicalHTML (fixededitorOptions
properties)hidden
parameter in favor of the admin objecthidden
parameterhidden
property for v4.0 with noticesThis patch also sets
disableListColumn
to true by default, which can be overriden by specifying it in the optionaladmin
property.Note
Please review the modified jsdocs - it uses the
@since
jsdoc tag presuming this patch (ever) makes it to 3.61I've not actually tested this, tell me if you consider merging this.
Regards,