Skip to content

Rel dropdown is not hiding if availableRels array is empty #16

@khanakia

Description

@khanakia

availableRels | string[] | Available link rels, defaults to all rels.If empty array is provided, the control will be hidden and the default value applied.

Dropdown is not hidden it's still showing. I have this config

 hyperlink: {
    class: Hyperlink,
    config: {
      shortcut: 'CMD+L',
      target: '_blank',
      availableRels: [],
      validate: false,
    }
  },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions