I want to add a widget that can't be removed from the page and contain some default text when it is not defined explicitly. I thought it should work something like this:
{{
apos.singleton(data.page, 'headerTitle', 'apostrophe-rich-text', {
def: 'Default Title'
})
}}
Is there any way to do this with apostrophe widgets or I should create custom one?