Describe the bug
The main menu, navigation, and status bars are documented as enabled by default, but with latest versions of this library and dependencies they do not show up by default.
To Reproduce
Steps to reproduce the behavior:
Open StackBlitz template: https://stackblitz.com/edit/ang-jsoneditor. Note that main menu and navigation bars are present (status bar only applicable in code or text mode):
Expected behavior
Main menu bar, navigation, and status bars are enabled by default as documented here:
/**
* Adds main menu bar - Contains format, sort, transform, search etc. functionality. True
* by default. Applicable in all types of mode.
*/
public mainMenuBar: boolean;
/**
* Adds navigation bar to the menu - the navigation bar visualize the current position on
* the tree structure as well as allows breadcrumbs navigation.
* True by default.
* Only applicable when mode is 'tree', 'form' or 'view'.
*/
public navigationBar: boolean;
/**
* Adds status bar to the bottom of the editor - the status bar shows the cursor position
* and a count of the selected characters.
* True by default.
* Only applicable when mode is 'code' or 'text'.
*/
public statusBar: boolean;
Desktop:
OS: Windows
Browser: MS Edge
Ng Version: 16
Additional context
I encountered this issue in an Angular 16 application. We noticed that the main menu bar, navigation bar, and status bar disappeared after updating the application dependencies. To address the issue, we explicitly set the options to true in our application:
Describe the bug The main menu, navigation, and status bars are documented as enabled by default, but with latest versions of this library and dependencies they do not show up by default.
To Reproduce Steps to reproduce the behavior:
Expected behavior Main menu bar, navigation, and status bars are enabled by default as documented here:
Desktop:
Additional context I encountered this issue in an Angular 16 application. We noticed that the main menu bar, navigation bar, and status bar disappeared after updating the application dependencies. To address the issue, we explicitly set the options to
true
in our application: