Details
-
Task
-
Resolution: Unresolved
-
P4: Low
-
None
-
None
-
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
- is required for
-
QTBUG-103714 cut & paste checkboxes: checkbox is lost
- Closed
- relates to
-
QTBUG-94462 Qt Quick TextEdit.insert() does not process Markdown text
- Closed
Gerrit Reviews
For Gerrit Dashboard: QTBUG-76105 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
417465,4 | Add QMimeData::markdown() setMarkdown() and hasMarkdown() | dev | qt/qtbase | Status: NEW | +1 | 0 |
354270,10 | Deal with markdown fragments in TextEdit | dev | qt/qtdeclarative | Status: MERGED | +2 | 0 |
354523,10 | Add QTextDocFragment::to/fromMarkdown() & QTextCursor::insertMarkdown() | dev | qt/qtbase | Status: MERGED | +2 | 0 |
411899,2 | Mention markdown support in QTextDocumentFragment and QTextCursor | dev | qt/qtdoc | Status: MERGED | +2 | 0 |
411900,2 | doc: cross-link markdown functions in QTextDocumentFragment, QTextCursor | dev | qt/qtbase | Status: MERGED | +2 | 0 |
412320,8 | Support markdown in QTextEditMimeData; fix pasting trailing newlines | dev | qt/qtbase | Status: MERGED | +2 | 0 |
418703,2 | Support markdown in QTextEditMimeData; fix pasting trailing newlines | 6.4 | qt/qtbase | Status: MERGED | +2 | 0 |
421090,2 | Deal with markdown fragments in TextEdit | 6.4 | qt/qtdeclarative | Status: MERGED | +2 | 0 |