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 RichTextLabel text.
  • 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+S and safe closing with Esc.
  • Reusable editor dialog for other Godot editor plugins.

Installation

  1. Copy addons/bbcode_editor into your project.
  2. Open Project > Project Settings > Plugins.
  3. 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.

Reviews

BBcode Editor has no reviews yet.

Login to write a review.

Consider supporting the creators!

If you enjoyed this asset consider supporting its creator. Follow the link below.