Hi Guys,

I am wanting to be able to lock peices of code within the CKEditor so that code around it can be edited but code that is locked is read-only.

Possibly using code like this:

HTML Code:
<span="locked">
<div>Code within here is locked</div>
<%=TestAspNETVar %>
</span>
So the code within the "<span class="locked"></span>" is read-only/ non-editable.

I know this is very complex but I really want/need to be able to do this.

Any help would be appreicated.

Thanks,

Neaox