BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
I am using the Markdown RTE in the InPlaceEditor and it's working great. The only issue I'm running into is that it doesn't process the formatting when the editor is not selected.
Here is the RTE selected
Here is it not selected
<script src="https://cdnjs.cloudflare.com/ajax/libs/marked/0.3.19/marked.js" type="text/javascript"></script> |
<ejs-inplaceeditor ref="rteObj" id="rte" type="RTE" :model="rteModel" :actionSuccess="actionSuccess">
</ejs-inplaceeditor>
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
methods: {
actionSuccess: function(args) { // Triggered when click the submit action success
var val = args.value; // Get the entered value
var markedVal = marked(val); // Convert the marked to html element
args.value = markedVal; // Assign the In-place editor
}
}
|
actionSuccess: function(args) { // Triggered after submit the editor
var markedContent = args.value; // Get the In-place Editor marked value
var htmlValue = marked(markedContent); // Convert the marked to html element
args.value = htmlValue; // Set to In-place Editor
} |