I have a component that is a markdown editor. I’m going to use it for new items, and editing items just the same.
I’d like to do something like:
{{> editor note=foobarbaz}}
Now foobarbaz is either an existing note or a brand new one for creation.
How can I access foobarbaz
from within the editor
template?