The templates list is empty on custom forms. I'm using TinyMCE (jQuery version).

Here is my code:

$form['text'] = array(
    	'#type' => 'text_format',
    	'#format' => 'full_html',
    	'#title' => t('Testo del messaggio'),
		'#description' => '',
		'#cols' => 60,
		'#rows' => 10,
		'#default_value' => '',
		'#required' => TRUE,
	);

Anyone experiencing the same issue?

CommentFileSizeAuthor
#1 popup upon the overlay24.77 KBp4trizio
#1 popup without overlay23.75 KBp4trizio
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

p4trizio’s picture

Issue summary: View changes

small tecnical correction

p4trizio’s picture

I just noticed that it is working if I don't put the form in an overlay (using hook_admin_paths).
In the attachment you can see that the popup is also displaied in a different way than usual.

Maybe it's a problem with paths for css and javascript?

p4trizio’s picture

I still cannot figure out how to make it work.. :-(

p4trizio’s picture

Status: Active » Fixed

I updated the TinyMCE editor library to the latest version and it seems to work now :-)
Thanks

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anonymous’s picture

Issue summary: View changes

just specified the wysiwyg editor: TinyMCE