I tried to get the value but the "Get Value" button always output an empty string.
I put breakpoint and saw that the value is empty also.
How can i get the value in the editor?
I see that you are trying to display the value of the text local variable. However, That's not going to display the current value of the editor because the component doesn't update that value automatically.
I've edited the component and added a client action: GetEditorValue that takes EditorWidgetId and outputs the value of the editor.
EditorWidgetId can be retrieved from the Initialized event that I added to the component.
The client action retrieves the value using this js code:
$('#' + $parameters.EditorWidgetId).data('kendoEditor').value();
Check out the attached files for the modified rich text editor oml and the updated ExploreOutSystems oml.
Thank you Mr Ahmed Hani, it is working already. I hope your solution will help others also :)