aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Eftevaag <oliver.eftevaag@qt.io>2025-09-02 14:45:16 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2025-09-03 19:41:31 +0000
commit5e3c53e0c732e39b1a231a72ba71571d256d6d4f (patch)
tree9853486e2fd082d1bb21f9eb1ee5f4fa943b913a
parentf417e4e2951aef9bb8e88b91ec3bb61f6c5e7328 (diff)
texteditor: Change the HTML to use unordered lists for links
The text layout in this example has annoyed me for a while. I liked it better when each link was a list item, which used to be the case before a96871eac888e0c01b29d092bafa80755f1fb47a. Change-Id: I68a6570dbc6c30e63b9d5b8b8079c9a58ab4e728 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io> (cherry picked from commit 90b049ba2639f86e7910d416b03248530d1f47ba) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--examples/quickcontrols/texteditor/texteditor.html23
1 files changed, 12 insertions, 11 deletions
diff --git a/examples/quickcontrols/texteditor/texteditor.html b/examples/quickcontrols/texteditor/texteditor.html
index 0cd406ea1c..e8d1419b58 100644
--- a/examples/quickcontrols/texteditor/texteditor.html
+++ b/examples/quickcontrols/texteditor/texteditor.html
@@ -19,16 +19,17 @@
<h2 align="center">
Qt Quick Controls 2
</h2>
- <p align="center">
- This example demonstrates a modern rich text editor.
- In recent Qt versions, components in
- <a href="https://doc.qt.io/qt-6/qtquick-controls-qmlmodule.html">Qt Quick Controls</a> and
- <a href="https://doc.qt.io/qt-6/qtquick-dialogs-qmlmodule.html">Qt Quick Dialogs</a>
- are implemented via their native-platform counterparts as much as possible.
- <a href="https://doc.qt.io/qt-6/qml-qtquick-controls-textarea.html">TextArea</a>,
- <a href="https://doc.qt.io/qt-6/qml-qtquick-textedit.html#cursorSelection-prop">TextSelection</a> and
- <a href="https://doc.qt.io/qt-6/qml-qtquick-textedit.html#textDocument-prop">TextDocument</a>
- provide text-editing API.
- </p>
+ <p align="center">This example demonstrates a modern rich text editor.</p>
+ <p>Components in the following modules are implemented via their native-platform counterparts as much as possible:</p>
+ <ul>
+ <li><a href="https://doc.qt.io/qt-6/qtquick-controls-qmlmodule.html">Qt Quick Controls</a></li>
+ <li><a href="https://doc.qt.io/qt-6/qtquick-dialogs-qmlmodule.html">Qt Quick Dialogs</a></li>
+ </ul>
+ <p>Text-editing API are provided by the following components:</p>
+ <ul>
+ <li><a href="https://doc.qt.io/qt-6/qml-qtquick-controls-textarea.html">TextArea</a></li>
+ <li><a href="https://doc.qt.io/qt-6/qml-qtquick-textedit.html#cursorSelection-prop">TextSelection</a></li>
+ <li><a href="https://doc.qt.io/qt-6/qml-qtquick-textedit.html#textDocument-prop">TextDocument</a></li>
+ </ul>
</body>
</html>