Hello,
Is possible to disable the TinyMCE editor for to use a simple text plain editor in the compose email pages?
Thanks in advance.
Regards.
Hello, |
I found a solution for that but not at all because the pluging is not disabled. In the BxBaseEditorTinyMCE.php file I modified the Tiny editor config for to keep the editor like a plain text area. Change this option: theme_advanced_toolbar_location: 'top', to: theme_advanced_toolbar_location: 'none', Thanks. Regards. |
I found a solution for that but not at all because the pluging is not disabled. In the BxBaseEditorTinyMCE.php file I modified the Tiny editor config for to keep the editor like a plain text area. Change this option: theme_advanced_toolbar_location: 'top', to: theme_advanced_toolbar_location: 'none', Thanks. Regards. This is going to affect the editor for all areas of your site that uses that init. I would have looked at disabling it in the email files. Actually, I would do as suggested and turn off JS caching since it is causing issues and could break other areas of your site. Geeks, making the world a better place |
Hello Geek, |
To disable tinymce area just in mail compose/reply modify the following lines in templates/base/scripts/BxBaseMailBox.php file (~near 1605 line): //bx_import('BxDolEditor'); Rules → http://www.boonex.com/terms |
Hi AlexT
Where do I deactivate TinyMCE at all? I don't want to have it appear on any part of my website.
Thank you. |
Where do I deactivate TinyMCE at all? I don't want to have it appear on any part of my website.
Try to to do the following in template/scripts/BxBaseEditorTinyMCE.php file: public function attachEditor ($sSelector, $iViewMode = BX_EDITOR_STANDARD, $bDynamicMode = false)
{
return true;
However it may cause that new lines will not be processed correctly in the entered text. Rules → http://www.boonex.com/terms |
I need to disable TinyMce in message only but this does not work for me in 7.3.5. It removes TinyMce but it also removes the ability to send the message. Also, coding is a little different in 7.3.5. Does anyone know the changes needed for 7.3.5.
To disable tinymce area just in mail compose/reply modify the following lines in templates/base/scripts/BxBaseMailBox.php file (~near 1605 line): //bx_import('BxDolEditor');
|
Hello callum!
In the following code of the mentioned BxBaseMailBox.php
$sEditor = ''; if ($oEditor) { $oEditor->setCustomConf ("remove_script_host: false,\nrelative_urls: false,\n"); $sEditor = $oEditor->attachEditor ('#compose_message', BX_EDITOR_FULL); }
return array($sEditor . $sOutputHtml, $aTopToggleEllements);
replace this line:
return array($sEditor . $sOutputHtml, $aTopToggleEllements);
to this variant:
return array($sOutputHtml, $aTopToggleEllements); |
Does not work for me Leonid. It removes TinyMce but it also removes the ability to send the message. When I click on 'send' nothing happens. Hello callum!
In the following code of the mentioned BxBaseMailBox.php
$sEditor = ''; if ($oEditor) { $oEditor->setCustomConf ("remove_script_host: false,\nrelative_urls: false,\n"); $sEditor = $oEditor->attachEditor ('#compose_message', BX_EDITOR_FULL); }
return array($sEditor . $sOutputHtml, $aTopToggleEllements);
replace this line:
return array($sEditor . $sOutputHtml, $aTopToggleEllements);
to this variant:
return array($sOutputHtml, $aTopToggleEllements);
|
Hello callum!
I'm waiting for your reply to my data request via mail here. |
@LeonidS https://www.deanbassett.com |
HI deano!
Thnx for info, will check on the callum site when he will reply me :-) |