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?
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?
Hello Samuel Mallare ,
The simplest approach would be to convert your description fields to htmleditable_tinymce, as described in the following link:
With this, you can paste images directly. For videos, unfortunately you would need to use the file upload button.
Let me know if this helps.
Cheers,
André
Thank you, Andre. Much appreciated! I'll check this out.
I was able to google that before. I'm hoping there's a simpler way. I hope Sugar can come up with a native rich-text field without any external integration or add-on like TinyMCE. This is a basic need.
Anyway, thank you again.
Thank you, Andre. Much appreciated! I'll check this out.
I was able to google that before. I'm hoping there's a simpler way. I hope Sugar can come up with a native rich-text field without any external integration or add-on like TinyMCE. This is a basic need.
Anyway, thank you again.
Hello Samuel Mallare ,
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';
Thanks,
André