Project

General

Profile

Actions

Bug #94194

open

Linkbrowser in Ckeditor: Automatic changing of title and target when selecting a class isn't working with 9LTS anymore

Added by Jennifer Hauß over 3 years ago. Updated almost 3 years ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2021-05-25
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
10
PHP Version:
7.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Hey folks,
When updating a project from 8LTS to 9LTS I came across a change in behaviour in the linkbrowser of the ckeditor. With 8LTS it was possible to change the title and target automatically when a class is selected.
This isn't working with 9LTS anymore.

Setup looks like this:

classesAnchor:
    internalLink:
        class: 'internal-link'
        titleText: 'Öffnet einen internen Link im aktuellen Fenster'
        type: 'page'
    internalLinkNewWindow:
        class: 'internal-link-new-window'
        titleText: 'Öffnet einen internen Link in einem neuen Fenster'
        target: '_blank'
        type: 'page'
    externalLink:
        class: 'external-link'
        titleText: 'Öffnet einen externen Link im aktuellen Fenster'
        type: 'url'
buttons:
    link:
        relAttribute:
            enabled: true
        targetSelector:
            disabled: false
        properties:
            class:
                allowedClasses: 'internal-link,internal-link-new-window,external-link'
classes:
    'internal-link':
        name: 'Interner Link'
    'internal-link-new-window':
        name: 'Interner Link neues Fenster'
    'external-link':
        name: 'Externer Link'

Also the default value for the title isn't set anymore.
The title changes with selecting of a class though if the option

buttons:
  link:
    properties:
      title:
        readOnly: true

is set.
Is this a wanted change in behaviour or a bug?
Actions #1

Updated by Jacco van der Post almost 3 years ago

I confirm this bug for TYPO3 10.4.21

Actions #2

Updated by Jacco van der Post almost 3 years ago

  • TYPO3 Version changed from 9 to 10
Actions

Also available in: Atom PDF