{$i18n.t('Add Content')}
{ if (name.trim() === '' || content.trim() === '') { toast.error($i18n.t('Please fill in all fields.')); name = ''; content = ''; return; } dispatch('submit', { name, content }); show = false; name = ''; content = ''; }} >
Title
Content