Hello,
You are correct, the RadEditor control has no restrictions on the client. All HTML markup is allowed in the content area. The only tag that we try to control is <script>. Unless you explicitly enable scripts in the editor configuration, all <script> tags will be removed when the editor content is submitted.
This brings me to the point - the editor is just a form element on the page. Unfortunately, this means that with the proper tools, you can modify its value when the form is submitted and insert any content you want. As you know, client-side validation of any kind is easily defeated in this way. The only place where you can properly validate your content, is the server code. In the case of RadEditor, if you want to use it for text input only, then you should use the
Text property on the server instead of the
Content property. This will remove all HTML tags and give you only the text content.
Best wishes,
Lini
the Telerik team