Incompatibilities with Claro and Claro-based (e.g. Gin) themes

Created on 15 November 2020, about 4 years ago
Updated 19 July 2023, over 1 year ago

Problem/Motivation

The Claro theme outputs the markup around textareas differently than the Seven theme does. The web/core/themes/claro/templates/text-format-wrapper.html.twig twig template uses the same class as the textarea, because they're applying the patch here: https://www.drupal.org/node/3016343 β†’

This means we get a duplicate counter after these elements AND that the ckeditor counter doesn't work.

Steps to reproduce

1. Enable the Claro theme
2. Create a Textarea with CKeditor enabled.
3. In the form display, add a counter.
4. When you edit the page, you see two counters and adding characters doesn't work.

Proposed resolution

Update the javascript to fix these two things without breaking other admin themes, like seven.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mariacha1

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.

Production build 0.71.5 2024