EditorMediaDialog doesn't show align and caption

Created on 16 September 2019, almost 5 years ago
Updated 9 September 2023, 9 months ago

Problem/Motivation

If the editor filters are set to allow limit html tags but allowing "" attributes, the EditorMediaDialog form won't display the alignment or the caption options to the user. This is due to !empty($allowed_attributes['data-align']) returning `FALSE`.

Shouldn't this access check if `data-align` is allowed in some form of the wildcard string.

Steps to reproduce

Proposed resolution

Remaining tasks

Provide complete steps to reproduce the issue β†’ (starting from "Install Drupal core").

User interface changes

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Closed: cannot reproduce

Version

11.0 πŸ”₯

Component
MediaΒ  β†’

Last updated about 3 hours ago

Created by

πŸ‡ΊπŸ‡ΈUnited States pookmish

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡³πŸ‡ΏNew Zealand quietone New Zealand

    @pookmish, Thank you for reporting this problem. We rely on issue reports like this one to resolve bugs and improve Drupal core.

    Is this issue still a problem?

    There has been no activity here for 3 years except to ask for steps to reproduce.

    Since we need more information to move forward with this issue, I am keeping the status at Postponed (maintainer needs more info). If we don't receive additional information to help with the issue, it may be closed after three months.

    Thanks!

  • Status changed to Closed: cannot reproduce 9 months ago
  • πŸ‡ΊπŸ‡ΈUnited States Chris Matthews

    Steps to reproduce have not been provided since this issue was opened in Sep 2019 so closing this issue accordingly. If steps to reproduce can be provided then please feel free to reopen.

Production build 0.69.0 2024