array ( 'name' => 'tinymce_c', 'studio' => 'visible', 'label' => 'LBL_TINYMCE', 'span' => 12, ),
'type' => 'htmleditable_tinymce', 'dismiss_label' => true, 'span' => 12, 'tinyConfig' => array( // Location of TinyMCE script 'script_url' => 'http://{Instance URL}/include/javascript/tiny_mce/tiny_mce.js', 'height' => '100%', 'width' => '100%', // General options 'theme' => 'advanced', 'skin' => 'sugar7', 'plugins' => 'style,paste,inlinepopups', 'entity_encoding' => 'raw', 'forced_root_block' => false, // Theme options 'theme_advanced_buttons1' => "code,separator,bold,italic,underline,strikethrough,separator,bullist,numlist,separator,justifyleft,justifycenter,justifyright,justifyfull,separator,forecolor,backcolor,separator,fontsizeselect", 'theme_advanced_toolbar_location' => "top", 'theme_advanced_toolbar_align' => "left", 'theme_advanced_statusbar_location' => "none", 'theme_advanced_resizing' => false, 'schema' => 'html5', 'template_external_list_url' => 'lists/template_list.js', 'external_link_list_url' => 'lists/link_list.js', 'external_image_list_url' => 'lists/image_list.js', 'media_external_list_url' => 'lists/media_list.js', 'theme_advanced_path' => false, 'theme_advanced_source_editor_width'=> 500, 'theme_advanced_source_editor_height'=> 400, 'inlinepopups_skin' => 'sugar7modal',17. The array should now be similar to the following:
//Url options for links 'relative_urls' => false, 'remove_script_host' => false, ),
array( ‘name’ => ‘tinymce’, 'type' => 'htmleditable_tinymce', ... 'remove_script_host' => false, ),18. Replace ‘{Instance URL}’ with the URL path to your Sugar Instance. For example, ‘sugarcrm.mycompany.com’.
Any chance someone has a working method for achieving this on v8? Seems to me like an oversight to not make the HTML component editable, or at least make it a studio option for edit/no-edit.
thanks in advance
Hello Dave Newbern,
You will need to add and update a custom package in order to get it working. I'm not able to attach the full package. PM me.
Regards,
Angel M.
Hi Angel. Thanks for volunteering the code. Wish I could figure out how to send a PM on this forum. I must not be smart enough. Would you mind reaching out to dnewbern@comsat.com and we can coordinate?
thanks
dave
Hello Dave Newbern,
Were you able to make it work on your side?
Hi Usman,
You can go through this link to get more information about how to convert the textarea field into tinyMCE field in Sugar. Can you please tell us for which Sugar Version you are looking for this.
HI Poojitha,
I am aware of this link and I already converted the field to TinyMCE. I am having the problem that on firefox this field not rendered properly. So I was wondering if anyone fixed this problem or not because as per the Sugar portal this bug is still open.
Currently, I am using the latest Sugar version i.e. 10.0.2.
HI Poojitha,
I am aware of this link and I already converted the field to TinyMCE. I am having the problem that on firefox this field not rendered properly. So I was wondering if anyone fixed this problem or not because as per the Sugar portal this bug is still open.
Currently, I am using the latest Sugar version i.e. 10.0.2.