Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-76105

add QTextDocumentFragment and clipboard Markdown support

    XMLWordPrintable

Details

    • Task
    • Resolution: Unresolved
    • P4: Low
    • None
    • None
    • GUI: Text handling
    • None

    Description

      QQuickTextEdit::getFormattedText() should be able to have

      #if QT_CONFIG(textmarkdownwriter)
          } else if (d->markdownText) {
              return cursor.selection().toMarkdown(); 
      #endif
      

      But that implies adding QTextDocumentFragment::toMarkdown().

      QTextEdit has support for copying and pasting HTML, but not markdown yet; perhaps it could be useful to make it available as markdown flavor just in case other programs can also work with it

      QQuickTextEdit::insert() should also be able to handle markdown.

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-76105
          # Subject Branch Project Status CR V

          Activity

            People

              srutledg Shawn Rutledge
              srutledg Shawn Rutledge
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: