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/
*/
abc: {
enabled: true,
enabled: false,
},
/*
Katex extension

View File

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