Default behavior defined for note handles endnotes ("[place=end]"), and I want to use that in my project. It also handles all other notes via , ["_", ["(",")"]] - and that part I do not want.
Currently, I have to manually comment the part of the behavior that I do not want out in the CETEI.js file. I'd rather override the note behavior entirely in my own glue code, but I do not want to have to copy 23 lines of the function that handles the endnotes. Do you think it is possible to factor this function out of the behavior itself and make it available for re-use? (It does need access to the tei-tei elemnt DOM as we know...)
Thanks!
Default behavior defined for
notehandles endnotes ("[place=end]"), and I want to use that in my project. It also handles all other notes via, ["_", ["(",")"]]- and that part I do not want.Currently, I have to manually comment the part of the behavior that I do not want out in the
CETEI.jsfile. I'd rather override thenotebehavior entirely in my own glue code, but I do not want to have to copy 23 lines of the function that handles the endnotes. Do you think it is possible to factor this function out of the behavior itself and make it available for re-use? (It does need access to thetei-teielemnt DOM as we know...)Thanks!