How to fix the issue with the editor in Joomla + virtuemart?

Hi all, there's a problem with Joomla! 3.8.0 + VirtueMart 3.2.4.

After the update it stopped working custom field type editor.
Even established separately by default and all the same. as for fighting the project.

Errors in console and on the website too.

In the code, found this line. When executed in console, FALSE is returned.

// Creates a new editor instance

But if you use this design it works
tinyMCE.execCommand('mceToggleEditor', false, 'field-0-customfield_value');return false;

But I can't find where in the template admin to write this line instead of tinymce.execCommand("mceAddControl",true,"field-0-customfield_value")

Also noticed the problem that the new version is not saved Related products and categories.
June 14th 19 at 20:58

Find more questions by tags JoomlaVirtueMart