SugarCRM is now SugarAI! Read the announcement  

How to have rich-text field for Description in Tickets and Notes

In Tickets and Notes, the Description field is plain text.

What's a good way to convert it to rich text so we can simply copy-and-paste images/videos?

Parents Reply Children
  • Hello  , 

    Just to clarify: TinyMCE is already included in Sugar, so you simply need to update the vardef of the target field to use it.

    For example, for the Cases description field, creating this file will be enough.


    ./custom/Extension/modules/Cases/Ext/Vardefs/tinymce_description.php

    Content: 

      <?php
    $dictionary['Case']['fields']['description']['type'] = 'htmleditable_tinymce';
    $dictionary['Case']['fields']['description']['dbType'] = 'longtext';
    $dictionary['Case']['fields']['description']['len'] = '4294967295';




    I imagine you may already know this, but wanted to leave it here for clarity.

    Thanks,

    André