mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-11-09 16:01:30 +08:00
Enable additional tools
This commit is contained in:
parent
ed6e5e244e
commit
9000438025
1 changed files with 1 additions and 0 deletions
|
|
@ -318,6 +318,7 @@ $(document).on('turbolinks:load', function() {
|
||||||
if (MarvinJsEditor.enabled()) {
|
if (MarvinJsEditor.enabled()) {
|
||||||
if ($('#marvinjs-editor')[0].dataset.marvinjsMode === 'remote') {
|
if ($('#marvinjs-editor')[0].dataset.marvinjsMode === 'remote') {
|
||||||
ChemicalizeMarvinJs.createEditor('#marvinjs-sketch').then(function(marvin) {
|
ChemicalizeMarvinJs.createEditor('#marvinjs-sketch').then(function(marvin) {
|
||||||
|
marvin.setDisplaySettings({ toolbars: 'reporting' });
|
||||||
marvinJsRemoteEditor = marvin;
|
marvinJsRemoteEditor = marvin;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue