Project

General

Profile

Actions

Bug #88303

closed

lang-attribute for CKEditor not saved

Added by dermueller no-lastname-given almost 5 years ago. Updated over 4 years ago.

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

0%

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

Description

The file EXT:rte_ckeditor/Configuration/RTE/Processing.yaml already includes this configuration:

processing:
  ## allowed default attributes
  allowAttributes: [class, id, title, dir, lang, xml:lang, itemscope, itemtype, itemprop]

This includes the "lang"-attribute. But when I add this attribute to any tag in the RTE's source code view manually, it get's removed when saving. So my idea was to add this condiguration:

processing:
  HTMLparser_db:
    tags:
      h2:
        allowedAttribs:
          - lang
      p:
        allowedAttribs:
          - lang

But the "lang"-attribute still gets deleted when saving.

Actions

Also available in: Atom PDF