[Announcement] HTML Edit Update 1.2

Hello to everyone :slight_smile:

I’ve released another update to HTML Edit. This update adds two new events to help integration.

New UserDroppedImage event and TextChanged event

This event allows you to intercept the events that occur when a user drops an image on the control. By returning True you can handle the image drop yourself and prevent the default insert behavior. I use this in Answers to copy the image into the document for example.

I can’t believe I didn’t think about this event when I was originally mimicking the TextArea control. Fires as it does in TextArea, when the user changes the text.

About HTML Edit
HTML Edit is a drop in control that helps desktop developers get and set HTML for WYSIWYG Rich Text editing. This Xojo wrapper / translator harnesses the power of Quill. You can slam complex markup at the control and it will render quickly, and display just as the markup would in a browser. To make things easy it mimics much of the functionality of a TextArea, so you already know how to use it. HTML Edit lets you use native Xojo code to control the Quill editor, so you’re working with strings, booleans, and colors - instead of sorting out JavaScript errors.

Product Page: http://timi.me/htmledit.html
Download: http://timi.im/htmleditdemo
Screenie: http://timi.me/about_htmledit_ss.png
Docs: http://timi.me/files/htmledit-docs.html

Why is not possible to use the


, etc. tag in your editor?

I think because it is based on quill.
Quill currently supports a number of formats. See:

Tim, is it possible what is shown on the toolbar for the editor, like maybe more fonts or less button?? or more font sizes?

With the source license you get access to everything, including the source html/css/js that runs the HTML Edit / Quill page. You can customize the toolbar (or any part of it) by editing that HTML.

I’d be happy to assist you with changing the toolbar if you need help.