You can embed HTML editor in Tobago easily, but there is no HTML editor component in Tobago. The reason is, there a many web-based editors in the web available, with different licences, different features (and different bugs).

So Tobago should not implement it's own HTML editor. But Tobago may embed an existing editor. Such an editor needs to comply with these requirements:

- License must be compatible with the Apache 2.0 license.
- Should be easy to integrate.
- Should have many features.
- Should have few bugs.
- Must be compatible to CSP (Content Security Policy).

Unfortunately we didn't found the perfect editor.

But that doesn't matter. You can choice you favorite editor and integrate it in your application. In this application there are two editors embedded as an example.

Is using LGPL license.
Doesn't work with CSP activated. There is an issue #8584 in the of the project.

The application should be protected against invalid or malicious HTML content. If the application uses an HTML editor in the browser, an attacker is able to modify the clean code and submit malicious code. That must be checked on server side!