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

add QTextDocumentFragment and clipboard Markdown support

XMLWordPrintable

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

      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.

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

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

              Created:
              Updated: