Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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?
Comment | File | Size | Author |
---|---|---|---|
#1 | popup upon the overlay | 24.77 KB | p4trizio |
#1 | popup without overlay | 23.75 KB | p4trizio |
Comments
Comment #0.0
p4trizio CreditAttribution: p4trizio commentedsmall tecnical correction
Comment #1
p4trizio CreditAttribution: p4trizio commentedI 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?
Comment #2
p4trizio CreditAttribution: p4trizio commentedI still cannot figure out how to make it work.. :-(
Comment #3
p4trizio CreditAttribution: p4trizio commentedI updated the TinyMCE editor library to the latest version and it seems to work now :-)
Thanks
Comment #4.0
(not verified) CreditAttribution: commentedjust specified the wysiwyg editor: TinyMCE