In 3.0.2 i can add eqneditor in tinymce, but in ojs3.1.0 in can’t.
Ojs3.1.0 much be built before.
How i can add eqneditor.
thank you very much.
OhnO395
In 3.0.2 i can add eqneditor in tinymce, but in ojs3.1.0 in can’t.
Ojs3.1.0 much be built before.
How i can add eqneditor.
thank you very much.
OhnO395
From “Equations in Tiny MCE v4 | CodeCogs Equation Editor”
I download eqneditor from codecogs.
I copy folder eqneditor in plugin to “lib/pkp/lib/vendor/tinymce/tinymce/plugins/eqneditor” and chown.
I edit to “/lib/pkp/js/controllers/SiteHandler.js”
ready for use ojs3.0.2, but OJS3.1.0 tinymce want to build i can’t understand.
thank you
OhnO395
Hi @OhnO395
You would need to rename i.e. copy the eqneditor file plugins.min.js
into plugin.js
– the file plugin.js must exist in the eqneditor tinymce plugin folder…
Best,
Bozana
I copy to plugin.js and remove plugin.min.js.
ojs3.1 can’t run eqneditor.
I call eqneditor first, but paste plugin is first.
If i edit SiteHandler.js, i much be rebuild it? How?
thank you
OhnO395
Hi @OhnO395
Are you using minified scripts? How is your option enable_minified
in config.inc.php
? If so you would need to run ./lib/pkp/tools/buildjs.sh
from your OJS folder. In that case you would maybe need the plugin.min.js
. Sorry, I didn’t think about that possibility…
Else, if you do not use the minified scripts, than plugin.js
is needed and the page reload should be enough…
I tested it yesterday (with not minified scripts) and it worked for me…
Best,
Bozana
Thank you very much.
OhnO395