Issue Bug Closed

#88303lang-attribute for CKEditor not saved

dermueller no-lastname-given 05/08/19, 11:58 updated 09/23/19, 08:59

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.

Reviews 0

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