Skip to content

Allowed link targets button config not being passed to ButtonTargetList #571

Closed
@mattleff

Description

@mattleff

With the following configuration the link targets should be limited:

AlloyEditor.editable(element, {
  buttonCfg: {
    'linkEdit': {
      allowedTargets: [
        {
          label: AlloyEditor.Strings.linkTargetDefault,
          value: ''
        }, {
          label: AlloyEditor.Strings.linkTargetBlank,
          value: '_blank'
        }
      ]
    }
  }
});

This was working and seems to have been broken with 7858e3b. #572 is the fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions