Open cchandurkar opened 1 month ago
I want to hide the drag handle based on conditions like empty paragraphs, a special checklist, etc.
Two potential ways of doing it could be:
shouldShow: (node: Node) => boolean
excludedTags[]
excludedSelectors[]
p.is-empty
ul.special-checklist
Edit: I think the p.is-empty already works in excludeTags[].
excludeTags[]
I want to hide the drag handle based on conditions like empty paragraphs, a special checklist, etc.
Two potential ways of doing it could be:
shouldShow: (node: Node) => boolean
config method that checks if the handle should be shown.excludedTags[]
withexcludedSelectors[]
that can take a qualifying DOM selector such asp.is-empty
orul.special-checklist
etc.