This commit is contained in:
Felix Wu 2018-08-21 16:16:12 +02:00
parent 10a2d57f75
commit e07df09129
2 changed files with 2 additions and 3 deletions

View File

@ -28,7 +28,7 @@ const zero = {
See https://abcjs.net/ See https://abcjs.net/
*/ */
abc: { abc: {
enabled: true, enabled: false,
}, },
/* /*
Katex extension Katex extension

View File

@ -3,8 +3,7 @@ import extensionSvc from '../services/extensionSvc';
const render = (elt) => { const render = (elt) => {
const abcContent = elt.textContent; const abcContent = elt.textContent;
elt.parentNode.parentNode.id = 'abcSheetPaper'; abcjs.renderAbc(elt.parentNode.parentNode, abcContent, {});
abcjs.renderAbc('abcSheetPaper', abcContent, {});
}; };
extensionSvc.onGetOptions((options, properties) => { extensionSvc.onGetOptions((options, properties) => {