Hi,
Is there a way to use a different editor between Joomla 3.9.13 and Virtuemart 3.6.10 ?
I actually use DropEditor and it's not compatible with the Virtuemart Translation System : when I change the language, the editor always stays in the first language. (No problem with Tiny MCE). So I would like to use DropEditor for Joomla and TinyMCE for Virtuemart.
Thanks for your anwser and best regards,
This looks more like an issue with dropeditor. As you say it works with other editors.
Jörgen @ Kreativ Fotografi
Just need an anwser to my question.
How to use different editor between Joomla and Virtuemart?
If I wanted to use a basic Editor I wouldn't have asked my question here..
This may work - Search for every instance in VM of
JFactory::getEditor();
I found 8.
You can then add the editor you want to use in the ()
e.g.
JFactory::getEditor('codemirror');
This failed when I tried 'tinymce' but worked for 'codemirror'
You could make it more generic and do:
$VMoverrideEditor = VmConfig::get('VMoverrideEditor','');
$editor = JFactory::getEditor($VMoverrideEditor);
Then add the hidden option in the configuration virtuemart.cfg file
VMoverrideEditor=codemirror,
Then open vm/admin/confiuration and just save to store the new "hidden" config value
When you upgrade VM you will need to reapply all the file changes (not the hidden config)
Thanks a lot ! :)