Skip to content

Add option to hide features #153

@pokornyd

Description

@pokornyd

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions