Skip to content

Custom alignment classes in Page Edit Image not working in CKEditor #800

@schwaaab

Description

@schwaaab

Short description of the issue

The Alignment Classes in Modules->Configure->ProcessPageEditImageSelect cannot change to anything but the default classes. CKEditor does not recognize other set custom classes.

Expected behavior

The custom classes should be recognized by CKEditor and put to the img element.

Actual behavior

None other than the default classes work. You can add another class like "align_left uk-align-left", but only align_left gets recognized.

Steps to reproduce the issue

  1. Go to Modules->Configure->ProcessPageEditImageSelect and change the custom alignment classes
  2. go to a page textarea field with ckeditor active and put in text and an image
  3. use the alignment on the image to float it to the text

Setup/Environment

  • ProcessWire version: 3.0.120
  • PHP version: 7.2.8
  • 10.1.34-MariaDB

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions