neoJEdit
v: 1.0
neoJEdit adds a powerful, lightweight, and fully customizable HTML WYSIWYG editor to your VisualNEO Web applications.
Based on the open-source Jodit Editor (https://xdsoft.net/jodit/docs/), this plugin allows you to easily create, edit, and manage formatted text directly within your app — no external dependencies required.
With its flexible configuration options, neoJEdit can be used for anything from simple text fields to advanced HTML content editors. You can choose between minimal, standard, or full toolbars depending on your project’s needs, and even control the editor programmatically to get or set content, monitor changes, or enforce character limits.
Key Features
- Integrates the Jodit WYSIWYG editor seamlessly into VisualNEO Web.
- Multiple toolbar presets: minimal, standard, extended minimal, or full.
- Programmatic access to editor content (HTML or plain text).
- Event handling: trigger callbacks when content changes.
- Character limit enforcement.
- Easy to destroy and recreate editors dynamically.
Typical Use Cases
- Content management systems or note-taking apps.
- Blog editors or form fields with formatted text.
- Email, message, or comment editors with rich text support.
- Educational apps requiring student input or annotation.
neoJEditAdd
|
Purpose: |
Add Jodit editor with common toolbar options |
|
Category: |
neoJEdit |
|
Syntax: |
neoJEditAdd "objId"
objId Select a container object |
neoJEditAddFull
|
Purpose: |
Add Jodit editor with full toolbar |
|
Category: |
neoJEdit |
|
Syntax: |
neoJEditAddFull "objId"
objId Select a container object |
neoJEditAddMini
|
Purpose: |
Add Jodit editor with minimal toolbar |
|
Category: |
neoJEdit |
|
Syntax: |
neoJEditAddMini "objId"
objId Select a container object |
neoJEditAddMini2
|
Purpose: |
Add Jodit editor with extended minimal toolbar |
|
Category: |
neoJEdit |
|
Syntax: |
neoJEditAddMini2 "objId"
objId Select a container object |
neoJEditGetHtml
|
Purpose: |
Get editor's HTML content |
|
Category: |
neoJEdit |
|
Syntax: |
neoJEditGetHtml "objId" retVar
objId Container object retVar Variable to store the result |
neoJEditSetHtml
|
Purpose: |
Set editor's HTML content |
|
Category: |
neoJEdit |
|
Syntax: |
neoJEditSetHtml "objId" theHtml
objId Container object theHtml HTML content |
neoJEditGetText
|
Purpose: |
Get plain text content from the editor |
|
Category: |
neoJEdit |
|
Syntax: |
neoJEditGetText "objId" retVar
objId Container object retVar Variable to store the result |
neoJEditSetText
|
Purpose: |
Set plain text content into the editor |
|
Category: |
neoJEdit |
|
Syntax: |
neoJEditSetText "objId" theText
objId Container object theText Plain text content |
neoJEditGetLength
|
Purpose: |
Get length of editor content in characters |
|
Category: |
neoJEdit |
|
Syntax: |
neoJEditGetLength "objId" retVar
objId Container object retVar Variable to store the result |
neoJEditOnChange
|
Purpose: |
Trigger a function whenever the editor content changes |
|
Category: |
neoJEdit |
|
Syntax: |
neoJEditOnChange "objId" callBack
objId Container object callBack Callback function to execute |
neoJEditSetMaxLength
|
Purpose: |
Limit maximum number of characters allowed in the editor |
|
Category: |
neoJEdit |
|
Syntax: |
neoJEditSetMaxLength "objId" theMaxLength
objId Container object theMaxLength Maximum number of characters |
neoJEditDestroy
|
Purpose: |
Destroy the editor and clear the container |
|
Category: |
neoJEdit |
|
Syntax: |
neoJEditDestroy "objId"
objId Container object |
Created with the Personal Edition of HelpNDoc: Create cross-platform Qt Help files