Login to follow
MarkdownEditor

MarkdownEditor (ODC)

Stable version 0.1.1 (Compatible with ODC)
Uploaded on 05 January 2023 by valantic LCS
MarkdownEditor

MarkdownEditor (ODC)

Documentation
0.1.1

How to use the Markdown Editor

To use the Markdown Editor

  • Add a container to a Form and give it a name eg MyEditor

  • Add the Markdown Editor block next to the container

  • Supply the Container's Id as the ElementId parameter. eg MyEditor.Id

  • Put the name of a variable containing Html or markdown content in the Content parameter

  • When saving the form, use one of the client actions MarkdownEditor_GetHtml() or MarkdownEditor_GetMarkdown() and supply the Container's Id as the ElementId parameter.

  • Then use the HTML or markdown when storing your entity.

(ALTERNATIVE WAY) To use the Markdown Editor

  • Add EditorBlock to your screen and define the name, content and editor save handler