<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://sugarclub.sugarai.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>creating a html field</title><link>https://sugarclub.sugarai.com/dev-club/f/questions-answers/8351/creating-a-html-field</link><description>Hello everyone, been a while since being here. Just having an issue with our instance which is now running as 25.2. We have fields incustom modules that I changed to TinyMCE editor fields, this was all working till the recent update and now none of them</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: creating a html field</title><link>https://sugarclub.sugarai.com/thread/33753?ContentTypeID=1</link><pubDate>Fri, 13 Mar 2026 10:18:22 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:c9bacc13-fca0-4e5b-95c9-7890f7b34121</guid><dc:creator>Andre Serrazina</dc:creator><description>&lt;p&gt;Hi &lt;a href="/members/john-fieldsend"&gt;john Fieldsend&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve noticed that I&amp;#39;ve share the documentation for the previous TinyMCE version.&amp;nbsp;&lt;br /&gt;This is the reference that you should be following:&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://support.sugarcrm.com/documentation/sugar_developer/sugar_developer_guide_25.2/architecture/tinymce/"&gt;support.sugarcrm.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: creating a html field</title><link>https://sugarclub.sugarai.com/thread/33752?ContentTypeID=1</link><pubDate>Thu, 12 Mar 2026 17:30:48 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:a5a6598d-2176-4cd5-8ea7-f490907bcf42</guid><dc:creator>Andre Serrazina</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;a href="/members/john-fieldsend"&gt;john Fieldsend&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/p&gt;
&lt;p class="p1"&gt;&lt;/p&gt;
&lt;p class="p1"&gt;Do you see any errors in the browser console when opening these record views?&lt;br /&gt;I tested this locally by adding one of these fields using your approach&amp;mdash;first creating the field via Studio and then updating the vardefs as follows:&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="php"&gt;&amp;lt;?php

//path custom/Extension/modules/Accounts/Ext/Vardefs/simona.php

$dictionary[&amp;#39;Account&amp;#39;][&amp;#39;fields&amp;#39;][&amp;#39;simona&amp;#39;] = array(
    &amp;#39;name&amp;#39; =&amp;gt; &amp;#39;simona&amp;#39;,
    &amp;#39;vname&amp;#39; =&amp;gt; &amp;#39;LBL_SIMONA&amp;#39;,
     &amp;#39;type&amp;#39; =&amp;gt; &amp;#39;htmleditable_tinymce&amp;#39;,
    &amp;#39;dbType&amp;#39; =&amp;gt; &amp;#39;longtext&amp;#39;,
    &amp;#39;len&amp;#39; =&amp;gt; 255,
    &amp;#39;source&amp;#39; =&amp;gt; &amp;#39;db&amp;#39;,
    &amp;#39;required&amp;#39; =&amp;gt; false,
    &amp;#39;audited&amp;#39; =&amp;gt; false,
    &amp;#39;massupdate&amp;#39; =&amp;gt; false,
    &amp;#39;reportable&amp;#39; =&amp;gt; true,
    &amp;#39;importable&amp;#39; =&amp;gt; &amp;#39;true&amp;#39;,
    &amp;#39;duplicate_merge&amp;#39; =&amp;gt; &amp;#39;disabled&amp;#39;,
);&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;This worked correctly on my side, and the editor appears as expected.&lt;br /&gt;&lt;br /&gt;&lt;img style="max-height:375px;max-width:500px;" alt=" " src="/resized-image/__size/1000x750/__key/communityserver-discussions-components-files/54/pastedimage1773336586108v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;Because of that, I&amp;rsquo;m wondering if there might be an error preventing the editor from loading in your environment.&lt;/p&gt;
&lt;p class="p1"&gt;And regarding the TinyMCE configuration, instead of creating a &lt;span class="s1"&gt;.js&lt;/span&gt; file, I believe you should be looking at creating a PHP file as described in our documentation.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://support.sugarcrm.com/documentation/sugar_developer/sugar_developer_guide_25.2/architecture/extensions/tinymce/#File_System"&gt;support.sugarcrm.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Let me know if this points you on the correct direction.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Cheers,&lt;br /&gt;&lt;br /&gt;Andr&amp;eacute;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>