neoBlockEditor
Block-style editor with a universal JSON output
It's a modern, block-structured web editor designed for building intuitive, clean, and readable content. It deviates from the traditional rich text editors by organizing content into discrete blocks of various types, such as paragraphs, headings, images, lists and more.
Based on:
https://editorjs.io/
neoBlockEditorInit
Purpose: |
Initialize block editor |
Category: |
neoBlockEditor |
Syntax: |
neoBlockEditorInit "objId" autoFocus readyCallback changeCallback
objId Select a Container object autoFocus Autofocus readyCallback Subroutine to execute when ready (optional) changeCallback Subroutine to execute on any change (optional) |
neoBlockEditorLoad
Purpose: |
Populate the block editor with new content. This method expects data in the block editor JSON output format |
Category: |
neoBlockEditor |
Syntax: |
neoBlockEditorLoad "objId" dataVar
objId Select a Container object dataVar Variable object with neoBlockEditor data |
neoBlockEditorSave
Purpose: |
Save block editor data in JSON format |
Category: |
neoBlockEditor |
Syntax: |
neoBlockEditorSave "objId" resultVar callBack
objId Select a Conatianer object resultVar Object variable to store result callBack Callback subroutine (optional) |
neoBlockEditorRender
Purpose: |
Render previously saved data into a Container |
Category: |
neoBlockEditor |
Syntax: |
neoBlockEditorRender "objId" "objVar"
objId Select a target Container objVar Object variable with stored block editor data |
neoBlockEditorClear
Purpose: |
Remove all blocks from the current editor instance, effectively resetting the editor to an empty state. |
Category: |
neoBlockEditor |
Syntax: |
neoBlockEditorClear "objId"
objId Select a Container object |
neoBlockEditorDestroy
Purpose: |
Destroy the block editor, clean up resources, remove event listeners, and perform other necessary cleanup tasks. |
Category: |
neoBlockEditor |
Syntax: |
neoBlockEditorDestroy "objId"
objId Select a Container object |
neoBlockEditorReadOnly
Purpose: |
Sets or undets read only mode |
Category: |
neoBlockEditor |
Syntax: |
neoBlockEditorReadOnly "objId" mode
objId Select a Container object mode Read only? |
Created with the Personal Edition of HelpNDoc: Easily create HTML Help documents