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

add QTextDocumentFragment and clipboard Markdown support

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Reported
    • Priority: P4: Low
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: GUI: Text handling
    • Labels:
      None
    • Technical Risk:
      Normal

      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

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

              Dates

              • Created:
                Updated:

                Gerrit Reviews

                There are no open Gerrit changes