No body in timeline event created via frontmatter
Closed this issue · 3 comments
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?
obsidian-timelines/src/block.ts
Line 306 in 1a573b4
innerText
is only set if you create an event the HTML route rather than the frontmatter route
obsidian-timelines/src/utils/events.ts
Line 76 in 828f030
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.
I manually edited the plugin in a few spots within my plugin folder and it works now
pull request submitted: #50