The original description code, in the index.php, looked like this for both the _create and _update functions:
// Text
$_tmp = array(
'name' => 'project_text',
'label' => 4,
'help' => 5,
'type' => 'textarea',
'validate' => false,
'required' => true
);
// See if we are allowing BBCode
if (strpos($_user['quota_jrCore_active_formatters'], 'format_string_bbcode')) {
$_tmp['sublabel'] = 48;
}
jrCore_form_field_create($_tmp);
I changed the code to support the editor in both areas, as follows:
// Text
$_tmp = array(
'name' => 'project_text',
'label' => 4,
'help' => 5,
'type' => 'editor',
'validate' => 'allowed_html',
'required' => true
);
jrCore_form_field_create($_tmp);
Any thoughts as to why the editor is still stripping the formatting?
--
The Patria Company - patriaco.com / quality-trades.com / a-t.life - doing Jamroom since v3
updated by @the-patria-company: 06/28/20 10:12:58AM