Hello
I'm looking for a way to make specific elements in a Html rich text editor read-only and not possible to modify by the user. Is there any way to achieve this behavior?
An example of the rich text editor Im refering to would be this code snippet:
<html>
<head>
<script type="text/javascript">
var Editor = {
Init: function() {
$("#editor").get()[0].contentWindow.document.designMode = "on";
}
}
$(document).ready(function() { Editor.Init(); });
</script>
</head>
<body>
<iframe id="editor" style="width: 500px; height: 250px;"></iframe>
</body>
</html>
/Tobias