Custom field with TinyMCE

How can I add the TinyMCE to a custom textarea field?

regards,
Heimo

Are you solve this problem?

UP

Sorry for late response:

detailviewdefs.php

‘name’ => ‘text’,
‘studio’ => ‘visible’,
‘label’ => ‘LBL_TEXT’,
‘customCode’ => ‘{$fields.text.value|escape:‘html_entity_decode’ |escape:‘utf8_encode’ |escape:‘html’|strip_tags|url2html|nl2br}’,

Can you describe in more detail the decision?

How i can load TinyMCE for editing field?

https://www.modlabs.com/sugarcrm-modules-blog/adding-rich-text-editing-to-a-field

Just for next generations :slight_smile:

Thanks to @urdhvatech (If I’m not wrong) there is a field called WYSIWYG you can add from Studio. Starting from version 7.11.3 and up.

Thanks,

AlxGr

1 Like

FIeld type WYSIWYG solve for new custom fields. :+1:
I’m still trying to make an existing field (text area) to be modified using a rich text editor.
e.g.:
module Cases, field description is a TextArea with rich text editor, while resolution is a Textarea field as well but has not rich text editor activated.

Investigating…