Heading Levels

The rich text editor's formatting tool bar has a Heading button that you can use to insert HTML heading elements h1, h2 h3 and so on. By default the button offers h2 as the default selection, with headings h1 and h3 - h6 as options in a drop-down menu:

graphics/heading-levels.png

You can, however, change this default configuration as follows:

  1. If necessary, switch user to root.

    $ sudo su
  2. Open etc/escenic/cue-web-2.8/plugins/internal/EscenicHeading/EscenicHeading.yml for editing. For example:

    # nano etc/escenic/cue-web-2.8/plugins/internal/EscenicHeading/EscenicHeading.yml
  3. To change the default heading level, edit the defaultHeadingLevel property:

    defaultHeadingLevel: 2
  4. To change the contents of the drop-down menu, edit the headingLevels property:

    headingLevels: "1, 2, 3, 4, 5, 6"
  5. Save the file.

  6. Enter:

    # dpkg-reconfigure cue-web-2.8

    This reconfigures CUE with the changes you have made.