Home
Categories
Dictionary
Download
Project Details
Changes Log
What Links Here
How To
Syntax
FAQ
License

Editor edition mode



The right panel of the Editor window shows the content of the currently selected element in the tree.

The toolbar offer initially the following buttons:
  • editor-content-refresh : The Refresh button allows to refresh the current content by parsing again the article
  • editor-content-edit : The Edit button allows to enter in an XML edition mode of the article

In the edition mode, the content shows an XML editor of the article:
editor-content-code

Toolbar

The toolbar has the following buttons:
editor-content-toolbar2
The toolbar offer the following buttons:
  • editor-content-refresh : The Refresh button allows to refresh the current content by parsing again the element
  • editor-content-undo : The Undo and Redo buttons allows to undo or redo the edition of the current element
  • editor-content-save : The Save button allows to save the content of the element on the File system. This will trigger a parsing of the file on the disk, and eventually will present errors detected during the parsing. If the content of the element has been modified, the icon color will change: editor-content-savemodified
  • editor-content-format : The format button allows to format the XML content of Editor XML elements. The indentation for the formatted XML file is defined by the XML formatting Editor option
  • editor-content-view : The View button allows to exit the edition mode an enter again the html presentation of the article

Editing content

When in editing mode, you can edit the XML content in the editor. The menu allows to cut, copy, or paste content, and also add elements in the content.
  • If you did not select some content, you will have this menu:
    editor-popupmenu-add
  • If you did not select part of the content, you will have this menu:
    editor-popupmenu-replace

Adding elements in the content


The popup menu allows to add elements in the content. For example in the following example the user selects the first text and selects the menu to put the text in bold:
editor-popupmenu-boldmenu
A specific menu for putting the text in bold will appear:
editor-popupmenu-bold
After clicking the "Yes" button, the text will put the first text in bold:
editor-popupmenu-bold2
Each element has a specific menu, for example here is the menu for the font element:
editor-popupmenu-font

See also


Categories: editor | gui

docJGenerator Copyright (c) 2016-2023 Herve Girod. All rights reserved.