Issue Bug Closed

#77084Link-Wizard: RTE.classesAnchor.[...].target without effect if targetSelector.disabled = 1

Ralf Hettinger 07/13/16, 17:25 updated 08/02/17, 12:30

Description

Test setup:

RTE {
  classesAnchor {
    externalLink {
      class = external-link
      type = url 
      target = _self
    }
    externalLinkInNewWindow {
      class = external-link-new-window
      type = url 
      target = _blank
    }
  }
  default.buttons.link {
    url.properties.class.default = external-link-new-window
    targetSelector.disabled = 1
  }
}

Expected behaviour: on setting an external link with default class “external-link-new-window”, target is set to “_blank”. On changing the class to “external-link”, target is set automatically to “_self”

Current behaviour: target is always set to “_self” and there is no way to change this due to the setting targetSelector.disabled = 1

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.