[Gambas-user] Rich Text Editor for Gambas web application

T Lee Davidson t.lee.davidson at gmail.com
Thu Jan 12 03:01:03 CET 2023

On 1/11/23 01:33, Safiur Rahman wrote:
> Hi
> Is there any rich text editor for gambas web application in gb.web.gui.
> I am doing one with WebHtml with contenteditable="true". But there are
> a lot of problems. eg. you cannot click on bottom part of text area,
> copy and paste of content to the text area is not smooth.
> Attached my code.

I added one line to the block of code at lines 104-108 of WebTextHTML.class:

   ''Main control
   WebContainer1 = New WebScrollView(Me)
   WebContainer1.Class = "test-autocomplete-container"
   WebContainer1.Expand = True
   WebContainer1.Border = True
   WebContainer1.Arrangement = Arrange.Vertical

Arrange.Column and Arrange.Horizontal also seem to work making the lower part of the text area accessible to the mouse. Likely 
anything but Arrange.None would work.


More information about the User mailing list