Light-weight, fast, self-contained, and secure:
The ModelText editor, on the other hand, is 100% managed code, with no external dependencies. It does not invoke the web browsers installed on end users' machines, and it does not depend on COM interop, PInvoke, nor any other unmanaged code.
The ModelText HTML edit control is more secure, because it does not inherit the various security problems that come from using standard browsers.
<script>elements when it renders HTML.
The control is easy to install:
Because the control uses only managed code, it's doesn't require unusual run-time permissions.
You can even run it using minimal partial trust in the "Internet" security zone, with only a slight limitation in functionality (which is that a control run in the "Internet" security zone cannot access the end user's clipboard).
The control depends only on various assemblies which are shipped with version 2 (or higher) of the .NET framework, including:
The control has no other external dependencies.