RichTextLabel do not have any way to return text?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Tybobobo
:warning: Old Version Published before Godot 3 was released.

Is there no way of getting the text inside the RichTextLabel? There is no get_text equivalent. >:(

Docu: RichTextLabel — Godot Engine (latest) documentation in English

A temporary workaround is to save all string input that goes to RichTextLabel in a separate var

Tybobobo | 2016-03-02 12:19

:bust_in_silhouette: Reply From: kubecz3k

Well it don’t have one currently, it should not be hard to add it I assume. Usually when someone is using RichTextLabel he have bbcode enabled, and he can fetch text with get_bbcode method, this is probably the reason why nobody noticed this obvious absence :slight_smile:

Where can I find a how-to on using BBCode with RichTextLabel? Thanks.

duke_meister | 2016-04-26 03:32