-
Notifications
You must be signed in to change notification settings - Fork 35
Open
Description
It doesn't seem possible to add a behavior that's triggered by a pb-tag. Why is that, and could it be fixed?
Am I wrong? The looks like this (pretty standard):
const ct = new CETEI()
let behaviors = {
tei: {
pb: function (e) {
console.log(e)
return PageBegin(e)
},
},
}
ct.addBehaviors(behaviors)
const html = await ct.makeHTML5(data)
Nothing gets logged the the PageBegin-function does not run.
Metadata
Metadata
Assignees
Labels
No labels