Text short erroneously uses a WYSIWYG editor

Created on 13 September 2016, about 9 years ago
Updated 18 August 2025, about 1 month ago

When translating a "Text (formatted)", text, field TMGMT incorrectly renders the field with a WYSIWYG field when reviewing the job item.

When viewed outside of TMGMT (in the node edit form) a "Text (formatted)", text, field will be rendered as textfield. This prevents the WYSIWYG from being rendered. However, when rendered within TMGMT's Job Review Form it forces it to render as text_format. By forcing the field to be rendered as text_format it inserts an artificial paragraph tag that the native node edit form does not have.

I'm attaching a patch that conditionally sets the field type based on the presence of #max_length, which should tell us if it's a single line input or multiple line input. Open for suggestions here, but wanted to start the conversation off with something.

πŸ› Bug report
Status

Active

Version

1.0

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States markhuot

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