Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
I'm trying to use widgeditor with CCK. In my content type, I defined a field as Field Text, with 5 rows. When editing a node, It's rendered as:
<div class="form-item">
<label for="edit-field-presentazione-0-0-value">Presentazione: </label>
<textarea cols="60" rows="5" name="field_presentazione_0[0][value]" id="edit-field-presentazione-0-0-value" class="form-textarea resizable"></textarea>
</div>
However, widgeditor isn't enabled for that field (but is correctly enabled for the 'edit-log' field in the same page).
I noticed that, in the script activating widgeteditor, there are two textareas listed:
textareas[0] = "edit-log";
textareas[1] = "edit-value";
Since there is no field with id="edit-value", I guess that some mismatch caused "edit-field-presentazione-0-0-value" (which is the id assigned to my textarea) to be replaced by "edit-value" :-(
Comments
Comment #1
Gurpartap Singh CreditAttribution: Gurpartap Singh commentedhttp://drupal.org/node/171757