0

HTML Editor

 Description

The html_editor_tinymce part allows you to display a rich text editor on the screen.

Use

You can use this part in a form node to display a rich text editor with default buttons and settings. You can configure the settings in the part editor as described below.

Editor Fields

Field Name Description/Use Type/Options Optional/Mandatory
Path This is the path in the application context in which to save the text. Data Object Mandatory
Caption This is the caption of the HTML editor. Text Optional
Standard functionality Unchecked: If this is not checked the system disables the standard read functionality.
Checked: If this is checked the system enables the standard read functionality.
Checkbox Mandatory
Custom buttons It is possible to add custom/extra buttons to the toolbar. The data object should have the following structure.
  • buttons[1].name (mandatory)
  • buttons[1].row (optional)
  • buttons[1].settings (optional)
The system converts the Lua table to JSON before calling the addButton function. For more information see Tinymce addButton.
Data Object Optional
Interpolate Unchecked: If this is not checked the system does not interpolate the text in the editor.
Checked: If this is checked this the system interpolates the text in the editor.
Checkbox Optional
Disable Unchecked: If this is not checked the editor is enabled and editable.
Checked: If this is checked the editor is disabled and not editable.
Checkbox Optional
Token This is the token in which the system should show the HTML editor. Number Optional

The following fields are only required when using a database to store/retrieve the documents.

Field Name Description/Use Type/Options Optional/Mandatory
User id You can save a user id when saving documents in a database. This is the id of the user who added/edited a document. Number Optional
Document id You can save a document id when saving a document in database. This is the id of the document that is saved. Number Optional
Document database table This is the name of the database table in which to save the documents. Text Optional
Training document Unchecked: If this is not checked the text will be retrieved from the column 'fulltext'.
Checked: If you are storing documents in a data table and this is checked, the system will retrieve a training document. The training document is the data in the column 'training_fulltext' in the database table instead of the normal 'fulltext' column.
Checkbox Optional
Review mode Unchecked: If this is not checked the editor will display the default buttons.
Checked: If this is checked and the open or edit logicnets are set, the buttons bar will only display "highlight/insert text/mark text as deleted" buttons to the reviewer.
Checkbox Optional
Final review mode Unchecked: If this is not checked the editor will show the default text.
Checked: If this is checked the final reviewer will see all the edits that were made and the final version.
Checkbox Optional
Admin mode Unchecked: If this is not checked the editor will show the default text.
Checked: If this is checked the user will be able to see the text in admin mode but will not see any special options.
Checkbox Optional
Open logicnet This is the logicnet that should open when one of the reviewer buttons is clicked. The data object should have the following structure:
  • logicnet.name(mandatory)
  • logicnet.title (optional)
  • logicnet.width (optional)
  • logicnet.height (optional)
Data Object Optional
Edit logicnet This is the logicnet that should open when editing. The data object should have the following structure:
  • logicnet.name(mandatory)
  • logicnet.title (optional)
  • logicnet.width (optional)
  • logicnet.height (optional)
Data Object Optional
Edit query This is the query that retrieves the edits when the final review mode is active. Text Optional

Example

Download and import the example project into your Designer.

Reply Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
Like Follow
  • 5 mths agoLast active
  • 20Views
  • 2 Following

Home