The ABMEditor component is an alternative input component that allows rich text. It is based on Squire.

Squire Is an HTML5 rich text editor, which provides powerful cross-browser normalisation, whilst being supremely lightweight and flexible. It is built for the present and the future, and as such does not support truly ancient browsers. It should work fine back to around Opera 12, Firefox 3.5, Safari 5, Chrome 9 and IE9.

Unlike other HTML5 rich text editors, Squire was written as a component for writing documents (emails, essays, etc.), not doing wysiwyg websites. If you are looking for support for inserting form controls or flash components or the like, you'll need to look elsewhere. However for many purposes, Squire may be just what you need, providing the power without the bloat.

Note that the copy/paste behaviour can vary on the browser. E.g. some browsers will allow to copy/paste an image in it, others don't.

Dim editor As ABMEditor
editor.Initialize(page, "editor", True, True, "editor")
page.CellR(1,1).AddComponent(editor)

With the GetHTML/SetHTML methods you can set or get the input text.

Sub btn1_Clicked(Target As String)
	Dim editor As ABMEditor = page.Component("editor")
	Dim editorlbl As ABMEditor = page.Component("editorlbl")
	editorlbl.SetHTML(editor.GetHTML)
	editorlbl.Refresh
End Sub