Skip to content

Modularize the note behavior #39

@dubinsky

Description

@dubinsky

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions