Customizing PrizmDoc Editor Menus: How to Remove the "File" Menu

Modified on Fri, Feb 7 at 4:07 PM

I'm using PrizmDoc Editor and I would like to remove the "File" menu and all its items when creating a session. But, I want all of the other menus to remain intact. What's the best way to go about doing this?


Due to the current design of Editor, you must specify every other menu and item that you want to keep, and exclude those items that you do not want. 


Since this process could be tedious, our Editor team has provided a JSON template with all of the menu items. You can modify the following template to remove the "File" menu and adjust other menus as needed. 


{
  "menubar": {
    "visible": true,
    "items": [
      {
        "name": "File",
        "items": [
          "New",
          "Open",
          "-",
          "Rename",
          "-",
          "Download",
          "-",
          "Close"
        ]
      },
      {
        "name": "Edit",
        "items": [
          "Undo",
          "Redo",
          "-",
          "Cut",
          "Copy",
          "Paste",
          "-",
          "TypingMode",
          "SelectAll"
        ]
      },
      {
        "name": "View",
        "items": [
          "RulerToggle",
          "-",
          "Zoom",
          "FullScreen"
        ]
      },
      {
        "name": "Insert",
        "items": [
          "InsertHyperlink",
          "-",
          "PageBreak",
          "HorizontalLine"
        ]
      },
      {
        "name": "Format",
        "items": [
          {
            "name": "Font",
            "items": [
              "Bold",
              "Italic",
              "Underline",
              "Strikethrough",
              "Superscript",
              "Subscript",
              "-",
              "FontFamily",
              "-",
              "FontSize",
              "IncreaseFontSize",
              "DecreaseFontSize",
              "-",
              "FontColor",
              "HighlightColor",
              "-",
              {
                "name": "Capitalization",
                "items": [
                  "SmallCaps",
                  "AllCaps"
                ]
              }
            ]
          },
          "HeaderFooter",
          {
            "name": "Paragraph",
            "items": [
              "LeftAlign",
              "CenterAlign",
              "RightAlign",
              "Justify",
              "-",
              "BulletedList",
              "NumberedList",
              "-",
              "IncreaseIndent",
              "DecreaseIndent",
              "LineSpacing"
            ]
          },
          "-",
          "ClearFormatting"
        ]
      },
      {
        "name": "Table",
        "items": [
          "InsertTable",
          "-",
          "InsertTableColumnLeft",
          "InsertTableColumnRight",
          "InsertTableRowAbove",
          "InsertTableRowBelow",
          "-",
          "MergeTableCells",
          "SplitTableCellHoriz",
          "-",
          "DeleteTableColumn",
          "DeleteTableRow",
          "DeleteTable",
          "-",
          "TableGridlinesToggle"
        ]
      },
      {
        "name": "Review",
        "items": [
          "EditMode",
          "-",
          "AddComment",
          "-",
          "ResolveAllComments",
          "ResolvedComments",
          "-",
          "SuggestedChangesMode",
          "AcceptAllChanges",
          "RejectAllChanges"
        ]
      },
      {
        "name": "Help",
        "items": [
          "About"
        ]
      }
    ]
  }
}

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article