Toggle Focus Mode
Toggles Focus mode and displays a brief message indicating which one is active.
// Editor - Toggle Focus Mode editor.focusModeEnabled = !editor.focusModeEnabled; app.displayInfoMessage(editor.focusModeEnabled ? "Focus Mode Enabled" : "Focus Mode Disabled");
After Success Default Notification Error Log Level Error
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.