Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Access HTML metaInformation from QML Text?
pderocco last edited by
The QML Text page references the Supported HTML Subset page, which says that the contents of a <title> element can be obtained with QTextDocument::metaInformation(), but of course that's for C++. Is there any way to get at that in QML, when using a Text object with textFormat set to Text.RichText? If there is, it's not documented, but there are other things that aren't documented, such as support for <style> elements, so I'm hoping there is a way to do this.