RoamJS / smartblocks

MIT License
23 stars 7 forks source link

return output from triggerSmartblock if no target #99

Closed mdroidian closed 1 year ago

mdroidian commented 1 year ago

getSmartblockOutput Might need to be re-thought ... things like <%FORM%> and <%OPENPAGE%> will still run ... 🤔

another option might be to edit triggerSmarblock to return the output via processBlockUid if targetName and targetUid are blank

(instead of throwing an Error)