when I generate the frontmatter event with ctrl + P it gives a lot of properties, one of which is description. This seems to do nothing, and there's no other property that seems like it would equate to a body of text.
When I do inspect elements I can see that there is a p element, which looks like it should have been populated with something?
the getEventData function calls retrieveEventValue in order to acquire the various properties which differ in arrangement between HTMLElement and FrontMatterCache. But it doesn't store the event body, this should be an oversight rather than a technical or design limitation, right? The frontmatter event generates with a description property that seemingly does nothing.
when I generate the frontmatter event with ctrl + P it gives a lot of properties, one of which is description. This seems to do nothing, and there's no other property that seems like it would equate to a body of text.
When I do inspect elements I can see that there is a p element, which looks like it should have been populated with something?
I think this may be the issue? https://github.com/seanlowe/obsidian-timelines/blob/1a573b4e5834c75ccc03c49d53b62ef95bfd9f01/src/block.ts#L306
innerText
is only set if you create an event the HTML route rather than the frontmatter routehttps://github.com/seanlowe/obsidian-timelines/blob/828f0309a056f510705372788c638e5d88d9cb0f/src/utils/events.ts#L76
the
getEventData
function callsretrieveEventValue
in order to acquire the various properties which differ in arrangement betweenHTMLElement
andFrontMatterCache
. But it doesn't store the event body, this should be an oversight rather than a technical or design limitation, right? The frontmatter event generates with a description property that seemingly does nothing.