28
Views
3
Comments
Solved
[MarkdownEditor] How to use the component?
markdowneditor
Reactive icon
Forge asset by Stuart Harris
Application Type
Reactive

Hello how are you?

Congratulations on the plugin. It would be nice to have a topic on "how to use the component", as I noticed that there is a need to configure a handler event (I believe during registration), but it seems to fail when I configure it myself, adding to this, the component interface is not being rendered and also generates a Javascript error message ( e.el is null). See more details of the error below.
However, just with a tutorial informing everything that needs to be done to be able to use the editor and the preview, as well as its necessary handlers, it would be great.



Thanks

2023-12-16 19-57-03
Sanjay Kushwah
Solution

Hi @Felipe R,

After Drop the MarkdownEditor block on screen you need to provide a container Id (into widget id parameter) and a config variable to define configuration (for more information you can expand config parameter and read description of each parameter value in order to understand the meaning of each parameter value.).


I have added it on Screen.

You can use MarkdownEditor_GetHtml action to getHTML value form editor and MarkdownEditor_SetHtml action to set value inside editor again.


I have Attached Sample OML for your reference.

Hope this will help you.

Kind regards,

Sanjay Kushwah

Sample_Demo_MarkDownEditor.oml
UserImage.jpg
Felipe R

Hi @Sanjay Kushwah

I am super grateful for your help and willingness to generate a demonstrative model. Thank you very much.


Felipe

2024-11-07 03-28-42
Stuart Harris
Champion

Hi Filipe,

There is a demo (click Try Now), which has a demo and instructions.

You can download the demo and see how it works underneath.


Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.