The module broke the comment forms on my site. My restricted text format does not allow commentors to post images, so on that format I do not have the image button in my CKEditor toolbar.

The Editor Advance Image module is hiding the comment text area and throwing a JavaScript error. This is what it looks like for a user on a clean Drupal 8 install:

JS Error

Users cannot enter comments and the text format selector is hidden as well. The comment field is being hidden with an inline "visibility: hidden" css style.

Also, on my text format set up screen, I am still seeing the Editor Advanced Image settings tab, even though images are disabled in this text format:

Set up screen

As mentioned above, this has been replicated on a clean Drupal 8 install by pulling the image icon off of the "Restricted HTML" text format's CKEditor bar and allowing anonymous users to post comments with that text format.

CommentFileSizeAuthor
text_format.jpg118.23 KBrobert gomez
comment_hidden.jpg70.63 KBrobert gomez

Comments

Robert Gomez created an issue. See original summary.

wengerk’s picture

Status: Active » Needs review
robert gomez’s picture

Ah, yes. That's the same issue. I should have searched past issues better. The patch fixes the textarea rendering. Thanks.

Although the patch doesn't address the "Default image class(es)" tab appearing on a text-format's admin page when images are disabled. But that's a minor issue.

wengerk’s picture

Status: Needs review » Fixed

Happy it fix your issue !

You're right about the second point, I would appreciate your help if you could open another issue addressing this specific UI misbehaviour.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.