Description
Changelog
Reviews (0)
BBCode Editor for Godot
A simple visual BBCode editor and live preview for Godot 4.2+.
Features
- Compact editor for BBCode-enabled
RichTextLabeltext. - Resizable source and real-time preview panes.
- Formatting toolbar with common Godot BBCode tags.
- Inspector integration and standalone Command Palette playground.
- Apply with
Ctrl+S/Cmd+Sand safe closing withEsc. - Reusable editor dialog for other Godot editor plugins.
Installation
- Copy
addons/bbcode_editorinto your project. - Open Project > Project Settings > Plugins.
- Enable BBCode Editor.
Select a RichTextLabel and enable BBCode Enabled to use the custom text editor.
FAQ
How can I use the BBCode editor with a custom text field in another plugin?
Instantiate the reusable dialog, pass it the field's current text, and update the field when the dialog submits:
const BBCodeEditorScene = preload(
"res://addons/bbcode_editor/ui/bbcode_editor_dialog.tscn"
)
func edit_bbcode(text_field: TextEdit) -> void:
var dialog: BBCodeEditorDialog = BBCodeEditorScene.instantiate()
dialog.setup(text_field.text, "Edit Text")
dialog.text_submitted.connect(func(value: String) -> void: text_field.text = value)
EditorInterface.get_base_control().add_child(dialog)
dialog.open_editor()
Changelog for version v0.3.1
No changelog provided for this version.