Skip to content

Persisting text align does not work out of the box #22

@peterkraume

Description

@peterkraume

When you use the justify.js plugin to align text centered or right, the change is shown in the editor but it's not persisted upon saving the record.

For that to work, RTE processing needs to be adjusted:

Configuration/RTE/Full.yaml

imports:
  - { resource: 'EXT:typo3_tiptap/Configuration/RTE/Processing.yaml' }

Configuration/RTE/Processing.yaml

processing:
  allowAttributes:
    - style
  HTMLparser_db:
    allowedAttribs: style

I'm currently not sure if this settings should be shipped by default or just documented somewhere because it would allow the style attribute on arbitrary HTML tags.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions