Skip to content

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

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,
    }
  },

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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