I have this code in html. It works just fine. However i would like the same code to work in web2py view. Please help me make it work in web2py considering there is a certain way of handling the source files in web2py. In my post.html layout view have tried using:
{{response.files.append(URL('http://www.wiris.net/demo/editor/editor'))}}
'<html>
<head>
<script src="http://www.wiris.net/demo/editor/editor"></script>
<script>
var editor;
window.onload = function () {
editor = com.wiris.jsEditor.JsEditor.newInstance({'language': 'en'});
editor.insertInto(document.getElementById('editorContainer'));
}
</script>
</head>
<body>
<div id="editorContainer"></div>
</body>
</html>'