Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. WYSIWYG / HTML editor
Forum Updated to NodeBB v4.3 + New Features

WYSIWYG / HTML editor

Scheduled Pinned Locked Moved Unsolved 3rd Party Software
4 Posts 2 Posters 1.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    HamishM
    wrote on last edited by
    #1

    Does anyone know a good WYSIWYG HTML/rich text editor? I see this old example application https://doc.qt.io/qt-5/qtwidgets-richtext-textedit-example.html but I am looking for a widget that is closer to ready to drop in and go.

    I know QTextEdit does HTML but I need the toolbar for styling, inserting links and so on.

    JKSHJ 1 Reply Last reply
    0
    • H HamishM

      Does anyone know a good WYSIWYG HTML/rich text editor? I see this old example application https://doc.qt.io/qt-5/qtwidgets-richtext-textedit-example.html but I am looking for a widget that is closer to ready to drop in and go.

      I know QTextEdit does HTML but I need the toolbar for styling, inserting links and so on.

      JKSHJ Online
      JKSHJ Online
      JKSH
      Moderators
      wrote on last edited by
      #2

      @HamishM said in WYSIWYG / HTML editor:

      Does anyone know a good WYSIWYG HTML/rich text editor?

      HTML5 is extremely complex; it's not feasible to have an editor bundled in a widget. You'd need an entire web engine, really.

      If you can live with a subset of HTML4, then it's more feasible.

      I know QTextEdit does HTML but I need the toolbar for styling, inserting links and so on.

      I'm not aware of any ready-made toolbars that can be embedded into a Qt project. You likely need to implement the toolbar yourself.

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      2
      • H Offline
        H Offline
        HamishM
        wrote on last edited by
        #3

        I just need to allow the users to enter some basic text with some styling and insert links. Like the example app but a bit more polished.

        I'm surprised someone hasn't made a nice widget for this. We'd be happy to pay for something commercial.

        JKSHJ 1 Reply Last reply
        0
        • H HamishM

          I just need to allow the users to enter some basic text with some styling and insert links. Like the example app but a bit more polished.

          I'm surprised someone hasn't made a nice widget for this. We'd be happy to pay for something commercial.

          JKSHJ Online
          JKSHJ Online
          JKSH
          Moderators
          wrote on last edited by
          #4

          @HamishM said in WYSIWYG / HTML editor:

          I just need to allow the users to enter some basic text with some styling and insert links. Like the example app but a bit more polished.

          I'm surprised someone hasn't made a nice widget for this. We'd be happy to pay for something commercial.

          My suggestion if nobody offers you their services: Copy the example's textedit.h and textedit.cpp into your project. Then edit it to make it inherit QWidget instead of QMainWindow. Fix any compilation errors and remove the functions that you don't want (like file saving/loading/printing). That should give you your baasic widget, right?

          (The example is available under the BSD license, so you can freely use it in your project)

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          1

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved