Answer the question
In order to leave comments, you need to log in
Problem with modx. Why doesn't TinyMCE work on the tickets page and the page doesn't scroll down?
Hello. I create a site, installed the necessary add-ons, everything was fine until I started creating tickets, the ticket editing page stopped scrolling down, although some of the settings and half of the "Content" field go down "behind the screen". Also, the TinyMCE edit menu has disappeared above the "Contents" field, although it is present on any other pages.
The console throws a JS error:
Uncaught TypeError: Cannot read property 'toggle_editor' of undefined tiny.js:126 .
It's just a TinyMCE plugin. But I did not change it in any way, I downloaded and installed it through the installer from the mod-x directory. So one of the most popular plugins in the mod-x directory is broken? Got into the specified file and line:
var tbl = Ext.get('tiny-toggle-label');
tbl.createChild({
html: Tiny.lang.toggle_editor
,style: 'float: left; margin-right: 5px;'
});
Answer the question
In order to leave comments, you need to log in
You need to ask this question here https://modx.pro/help/ there are modex specialists.
Don't be afraid to change. Tickets somehow incorrectly load tinymce, apparently. It does not contain a dictionary. Tiny.lang.toggle_editor is just the name of the toggle in the selected language.
The easiest thing to do is to replace with
a simple stringhtml: 'Toggle editor:'
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question