This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

So I want to make a word editor style app and textedit does not support text formatting. The RichTextLabel supports BB-code, but you can't edit it. The only thing I think I need to make the RichTextLabel into a custom textedit is to be able to place the cursor where I click. I know this should be possible because the engine gets the information when you select text, right? How do I get the position in the text from cursor click, even when I have a bunch of formatting?

Godot version 3.5 or 4
in Engine by (16 points)

1 Answer

0 votes

You're probably better off using a Textedit control.

https://docs.godotengine.org/en/stable/classes/class_textedit.html

by (22,704 points)

Textedit does not let you format the text like having bold text or different fonts or other effects that RichTextLabel lets you do.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.