Quill

  1. 2 weeks ago

    David S

    Jun 27 Testers, Xojo Pro

    I have been reading a little about Quill (an open source HTML text editor) and I am not sure exactly how this might work with Xojo.

    I see that you can download Quill. Is this something you install on a web server, or is this something you run in an HTML viewer in Xojo.

    It seems interesting, but I am not exactly sure how this might work in a Xojo project.

  2. Tim P

    Jun 27 Testers, Xojo Pro Rochester, NY

    @David S It seems interesting, but I am not exactly sure how this might work in a Xojo project.

    That's okay because there are experts who do.
    https://graffitisuite.com/features/desktop-edition/graffitihtmleditor/ is Quill bundled for Desktop.

  3. Tim S

    Jun 27 Testers Canterbury, UK

    I am running Quill in an HTMLViewer. To integrate this with a Xojo app was some amount of work.

    1) I had to fiddle inside the 12,000 lines of obscure javascript to make a few changes I needed in how it behaves

    2) Because the events available (StatusChanged and TitleChanged) that allow getting results back from the HTMLViewer were not guaranteed across platforms, and neither was the amount of data unlimited, I ended up implementing a WebSocket server to allow easier data exchange.

    3) I had trouble with the Windows renderer. Firstly, what worked OK under macOS didn't work in an HTMLViewer under Windows until I ensured that (a) IE11 was installed, and that the HTML page loaded into the Viewer demanded that the IE11 renderer rendered in IE11 mode, and not its default IE7 mode. Then it worked OK.

    So it works OK but not perfectly, there are some things that could be improved. But what I needed was a way for a user to edit some rich text (bold etc), add images, add links, and for me to be able to get an HTML representation of that.

  4. Richard D

    Jun 27 Testers, Xojo Pro Europe (UK, London)

    @Tim P That's okay because there are experts who do.
    https://graffitisuite.com/features/desktop-edition/graffitihtmleditor/ is Quill bundled for Desktop.

    i have been using this component for years now.. very easy to use

  5. David S

    Jun 27 Testers, Xojo Pro

    OK, thanks. I'll check it out.

or Sign Up to reply!