wysiwyg on form textareas

Created on 8 April 2009, over 15 years ago
Updated 5 August 2024, 5 months ago

Hi. One of my modules needs textarea input, and I am mainly going to input HTML so was wondering if there a way to apply wysiwyg to a textarea other than the body of a content type... I see many issues saying how do we stop this happening, but none saying how do we start it happening :)

$form['this_text_info'] = array(
		'#type' => 'textarea',
		'#title' => t('Information to appear at top of page, may use full HTML'),
		'#cols' => 60,
		'#rows' => 5,
		'#required' => TRUE
	);

I'm not sure if the problem is in my form setup, so I add it here.

💬 Support request
Status

Fixed

Version

1.1

Component

Editor - TinyMCE

Created by

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.

No activities found.

Production build 0.71.5 2024