Support HTML codes in RichTextLabel #11675
Replies: 2 comments 8 replies
-
To clarify, do you mean adding support for HTML highlighting to the script editor? |
Beta Was this translation helpful? Give feedback.
-
On desktop we can always launch the documents in a viewer... Now for smartphones, launching the documents in an external viewer is not an option. So, I believe that if there is a proposal/feature request it is along those lines: an API to open an HTML document either using a browser in desktop or an embedded viewer of smartphones, perhaps a frame or a new tab in the web... I don't know about consoles. It would have to be clear that it is for legal documents and there are no guaranties on the features it supports. Heck, it might not be HTML, it could be PDF or something else. Perhaps it can be document resource type that Godot builds into whatever is supported in the target platform, which would also disuade developers from trying to make it dynamic. |
Beta Was this translation helpful? Give feedback.
-
Background: Google Play and App Store require the published apps to have the Terms and Conditions and the Privacy Policy.
One can easily find generic versions of such documents online in HTML format. They look nice when published online: headings, lists, links, etc. All this nice formatting is lost when such document is pasted into the text field of a label.
RichTextLabel with BBCode enabled has the following downsides:
Adding the support for HTML-formatted documents would streamline creating these 2 documents (required for publishing the games).
The support for the following tags would be nice:
p, h1, h2, h3, h4, strong, a, ul, ol, li, u, i, b, em, br, hr
Beta Was this translation helpful? Give feedback.
All reactions