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.
Active
1.0
User interface
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.