Focus Mode Toggle

Posted by bhr1, Last update over 5 years ago

Toggle Focus Mode On or Off.

Works well as a keyboard action to remove the need to hide the keyboard to set focus mode while writing.


  • script

    // Toggle focus mode on or off
    if (editor.focusModeEnabled == true) {
      editor.focusModeEnabled = false;
    else {
      editor.focusModeEnabled = true;


  • After Success Default
    Notification Info
    Log Level Info
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.