Increase the maxlength of form input fields for custom class(es) and inline styles

Created on 28 November 2020, over 3 years ago
Updated 21 March 2023, over 1 year ago

Problem/Motivation

The form fields for adding customs CSS class(es) and inline styles are limited to 128 characters (the default).
This limit can be restrictive for theme makers, if they need to add a lot of classes or inline styles to the element.

Steps to reproduce

  1. Go to the layout edit page.
  2. Click on 'Manage attributes' of any block.
  3. Fill in the 'Class(es)' field with the text over 128 characters.

Proposed resolution

Set the default input field maxlength to 512 characters.

✨ Feature request
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡¨πŸ‡ΏCzech Republic D4K0 Prague

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.69.0 2024