-
-
Notifications
You must be signed in to change notification settings - Fork 21.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BBCode RichTextLabel not working as expected #49914
Comments
Lists, bg/fgcolor and table cell borders/backgrounds are implemented only in the |
I guess we can print a warning message if unimplemented tags are used in |
But i see list is implemented in 3.3 godot/scene/gui/rich_text_label.cpp Line 2227 in 64cfd5c
If there a way to just merge the 4.0 version back to 3.3? I see no conflicts here. Godot 4.0 is far away you should merge down such enhancments / feature complete back in Godot 3.3. The Goal should be bring Godot 3.x in a good shape, i have the feeling the most manpower gooes to Godot 4.0 and Godot 3.x is a bit neglected. An another question is why BBCode has his own tag definition? e.g. the table tags are very specific and Godot and is not the standard. |
The only implemented thing is
It's non-trivial task, 4.0 RichTextLabel implementation depends on #41100 which introduce breaking core changes.
That's the intended way 4.0 is the main focus of development, 3.4 get some new features backported (if it's not breaking changes and easy to port), 3.3 get only bug fixes. See https://docs.godotengine.org/en/latest/about/release_policy.html
We can change it in the 4.0, but this should be discussed in the proposal repository first. Again, it's a breaking change and not suitable for 3.x. |
@bruvzg thanks for your answer. I now it is hard to focus to bing Godot 4.0 in a stable position ;) Let see ;) |
Closing, as there is nothing actionable within this issue. Efforts to backport new RichTextLabel features in a backwards-compatible way to 3.x are welcome, but this won't be tackled by core contributors as most of them are now focusing their efforts on stabilizing 4.0. Printing a warning on the use of unknown tags could be considered a breaking change, as some people may be using text |
Godot version
v3.3.stable.official
System information
Windows 10
Issue description
I writing a markdown to BBCode converter and stuck on implementation because of tags not work as expected.
I take a look in the source code and the tags e.g.
ul
should work but it not works.https://github.com/godotengine/godot/blob/3.3/scene/gui/rich_text_label.cpp
I uses this example bbcode to test the tags
The rendered text is:

I see also differenzes in 3.3 and 4.0 rich_text_label.cpp implementation.
e.g. i miss support of 'bgcolor' in 3.3
For me looks like the RichTextlabe BBCode support is right in a beta state and not production ready.
Best Regards
Mike
Steps to reproduce
Table support is also very bad
And why Godot uses his own bbcode tags and not the official tags?
Minimal reproduction project
No response
The text was updated successfully, but these errors were encountered: