Hi,
If you want to have the WYSIWYG Editor load by default, below you will find the steps to accomplish this:
In order to change the mentioned functionality you should do the following:
- Open the “wysiwyg.tpl” file located in the “skins/basic/admin/common_templates” directory and replace this part of the code:
<br />
{include file="buttons/button.tpl" but_text=$lang.edit_in_visual_editor but_onclick="jQuery.openEditor(this.id.str_replace('on_b', ''));" but_role="simple" but_meta="text-button cm-combination" but_id="on_b`$id`"}<br />
{include file="buttons/button.tpl" but_text=$lang.view_source but_onclick="jQuery.openEditor(this.id.str_replace('off_b', ''));" but_role="simple" but_meta="text-button cm-combination hidden" but_id="off_b`$id`"}<br />
```<br />
<br />
with this one:<br />
<br />
```php
<br />
{include file="buttons/button.tpl" but_text=$lang.edit_in_visual_editor but_onclick="jQuery.openEditor(this.id.str_replace('on_b', ''));" but_role="simple" but_meta="text-button cm-combination cm-activate-wysiwyg hidden" but_id="on_b`$id`"}<br />
{include file="buttons/button.tpl" but_text=$lang.view_source but_onclick="jQuery.openEditor(this.id.str_replace('off_b', ''));" but_role="simple" but_meta="text-button cm-combination" but_id="off_b`$id`"}<br />
```- Save the file.<br />
<br />
- Open the "core.js" file located in the "js" directory of your CS-Cart and replace this part of the code:<br />
```php
<br />
$(window).bind('beforeunload', function(e) {<br />
setTimeout(function(){<br />
jQuery.toggleStatusBox('show', lang['text_page_loading']);<br />
}, DELAY);<br />
});<br />
```with this one:<br />
<br />
```php
<br />
$(window).bind('beforeunload', function(e) {<br />
setTimeout(function(){<br />
jQuery.toggleStatusBox('show', lang['text_page_loading']);<br />
}, DELAY);<br />
});<br />
$('.cm-activate-wysiwyg').click();<br />
```- Save the file. <br />
<br />
Regards