You may load the contents edited in Synap Editor through Javascript function as follows.
Javascript
<script> var html = editor.getPublishingHtml(); </script>
Check if editor.getPublishingHtml() function is working by opening the browser's console window (F12).
You may check if editor.getPublishingHtml() function is working by opening the browser's console window (F12).