Custom alignment classes in Page Edit Image not working in CKEditor #800
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.
The custom classes should be recognized by CKEditor and put to the img element.
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
The text was updated successfully, but these errors were encountered:
I took a quick look and I think the change needed to support multiple align classes is something like the following at line 642:
$validClasses = array_merge(explode(' ', $this->alignLeftClass), explode(' ', $this->alignCenterClass), explode(' ', $this->alignRightClass));
Also, currently the user has to manually allow any custom align classes as "Extra Allowed Content" for CKEditor fields. But given that