Project

General

Profile

Actions

Bug #88710

closed

rte_ckeditor link browser classes and their titleText and target

Added by Jan Kiesewetter almost 5 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
RTE (rtehtmlarea + ckeditor)
Target version:
-
Start date:
2019-07-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

In rte_ckeditor it is possible to configure the classes the link browser offers to select:

buttons:
  link:
    properties:
      class:
        allowedClasses:
        - external-link
        - external-link-new-window

    url:
      properties:
        class:
          default: "external-link" 

classesAnchor:
  externalLink:
    class: "external-link" 
    type: "url" 
    titleText: "LLL:EXT:sitepackage/Resources/Private/Language/locallang.xlf:rte.external_link_titleText" 

  externalLinkInNewWindow:
    class: "external-link-new-window" 
    type: "url" 
    target: "_blank" 
    titleText: "LLL:EXT:sitepackage/Resources/Private/Language/locallang.xlf:rte.external_link_new_window_titleText" 

There are some problems with the link browser right now:

  1. The wrong title text is set during load
  2. The title text don't change during changing the tabs
  3. The target don't change to the configured one
  4. After some changes, it don't change the title text anymore

See the video for more details.


Files

rte_ckeditor link browser.mov (9.88 MB) rte_ckeditor link browser.mov Jan Kiesewetter, 2019-07-09 15:44
link-wizard.jpg (115 KB) link-wizard.jpg Markus Dübbert, 2019-09-19 05:31

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #84743: ClassesAnchor target not set (ckeeditor)Closed2018-04-16

Actions
Related to TYPO3 Core - Bug #83754: Unable to set preconfigured values in CKEditor for title and targetClosed2018-02-01

Actions
Actions #1

Updated by Jan Kiesewetter almost 5 years ago

  • Description updated (diff)
Actions #2

Updated by Markus Dübbert over 4 years ago

i can confirm this behaviour.

simple example:

i want to set the default targets for 'page' and 'url':

my ckeditor yaml configuration:


buttons:
  link:
    page:
      properties:
        target:
          default: '_self'
    url:
      properties:
        target:
          default: '_blank'

When i select a link and open the link wizard, i have inconsistent behaviour when clicking the page type tabs, see attached screen.

1. i click page, the target is set to _self (this is ok)
2. i click external url, the target ist set to _self (this is wrong)
3. i click mail, the target is left blank (this is ok)
3. i click external url, the target ist set to _blank (this is ok)

the same behaviour in TYPO3 8 and 9

Actions #3

Updated by Markus Klein over 4 years ago

  • Status changed from New to Needs Feedback

This is a question of the feature definition.

For the title and target:
It should be set once to the default, but should be kept unchanged further on. The assumption is that a user might have entered a custom text that shall not be removed from the machine.

Actions #4

Updated by Markus Klein over 4 years ago

  • Related to Bug #84743: ClassesAnchor target not set (ckeeditor) added
Actions #5

Updated by Markus Klein over 4 years ago

  • Related to Bug #83754: Unable to set preconfigured values in CKEditor for title and target added
Actions #6

Updated by Anja Leichsenring almost 2 years ago

  • Status changed from Needs Feedback to Closed

after the ticket is open for so long and without interaction, I consider the explanation given by Markus as sufficient and close the issue.

Actions

Also available in: Atom PDF