Uploaded image for project: 'Qt Project Website'
  1. Qt Project Website
  2. QTWEBSITE-1083

Possible JS error in WebEngine Markdown Editor Example

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Not Evaluated
    • None
    • None
    • doc.qt.io
    • All
    • 54efa8f06 (dev)
    • DaVinci 74

    Description

      In the second-to-last topic, Creating an Index File [[WebEngine Markdown Editor Example | Qt WebEngine 6.4.2|https://doc.qt.io/qt-6/qtwebengine-webenginewidgets-markdowneditor-example.html]], midway through the code block, we have:

      var updateText = function(text) {
      placeholder.innerHTML = marked(text);
      }

      and I think we may need:

      var updateText = function(text) {
      placeholder.innerHTML = marked.parse(text);
      }

      Attachments

        For Gerrit Dashboard: QTWEBSITE-1083
        # Subject Branch Project Status CR V

        Activity

          People

            andreas.eliasson Andreas Eliasson
            fairybow Jackson Armstrong
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes