Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to hide features #153

Open
pokornyd opened this issue Feb 5, 2024 · 0 comments
Open

Add option to hide features #153

pokornyd opened this issue Feb 5, 2024 · 0 comments

Comments

@pokornyd
Copy link
Member

pokornyd commented Feb 5, 2024

Motivation

In some scenarios, it would be handy to have an option to hide some of the features which are not desirable in a given context. Take these examples

  • I want to show a relative add-button on an element. To do that I need to add an itemId attribute on that element. The itemId attribute will also render the edit-button, which I don’t want here. => I can’t hide the edit-button while keeping the add-button, without resorting to some wrapper and css workaround, which is cumbersome.
  • by default, the edit button functionality extends to the whole area of the element it's enabled for. this can be potentially undesirable in situations where the overlaid content includes some interactive/clickable buttons, in which case smartlink needs to be disabled.

Proposed solution

Provide more configuration options, which would allow disabling unwanted features either per element basis (e.g. using an optional boolean attribute) or globally

Additional context

Add any other context, screenshots, or reference links about the feature request here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant