是否可以在texarea 爲Drupal站點配置表單(system_settings_form)使用WYSIWYG編輯器。所見即所得編輯器在texarea Drupal配置表格
這是怎樣的配置現在編碼...
$form['my_module_text_bottom'] = array(
'#type' => 'textarea',
'#title' => t('Some text'),
'#default_value' => variable_get('my_module_text_bottom', 'This is configurable text found in the module configuration.'),
'#size' => 1024,
'#maxlength' => 1024,
'#description' => t("Some text."),
'#required' => TRUE,
);
return system_settings_form($form);
是的,應該的。只是想知道如何實現這一點。 – bert 2010-04-22 10:18:41
我個人喜歡CKEditor;您可以下載並安裝該模塊,然後從官方網站下載CKEditor庫並將其放置在正確的文件夾中。說明會引導您完成此操作。 – Nicholai 2010-04-26 18:03:27