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

add QTextDocumentFragment and clipboard Markdown support

    XMLWordPrintable

Details

    • Task
    • Status: Open
    • P4: Low
    • Resolution: Unresolved
    • 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

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

          Activity

            People

              srutledg Shawn Rutledge
              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