Skip to content

[BBCode] Add info and example of aligning inline objects to the adjacent spans of text.#12072

Draft
bruvzg wants to merge 1 commit into
godotengine:masterfrom
bruvzg:rtl_inl2
Draft

[BBCode] Add info and example of aligning inline objects to the adjacent spans of text.#12072
bruvzg wants to merge 1 commit into
godotengine:masterfrom
bruvzg:rtl_inl2

Conversation

@bruvzg

@bruvzg bruvzg commented Jun 18, 2026

Copy link
Copy Markdown
Member

@bruvzg bruvzg added area:manual Issues and PRs related to the Manual/Tutorials section of the documentation waiting on pr merge PRs that can't be merged until an engine PR is merged first labels Jun 18, 2026

@Calinou Calinou left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.


.. image:: img/bbcode_in_richtextlabel_image_align.webp

To specify part of the text, add one of the following values:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
To specify part of the text, add one of the following values:
To specify the part of the text, add one of the following values:


To specify part of the text, add one of the following values:

- ``p`` (``prev``) - align to the height of text span directly before the image/table.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- ``p`` (``prev``) - align to the height of text span directly before the image/table.
- ``p`` (``prev``) - align to the height of the text span directly before the image/table.

To specify part of the text, add one of the following values:

- ``p`` (``prev``) - align to the height of text span directly before the image/table.
- ``n`` (``next``) - align to the height of text span directly after the image/table.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- ``n`` (``next``) - align to the height of text span directly after the image/table.
- ``n`` (``next``) - align to the height of the text span directly after the image/table.


- ``p`` (``prev``) - align to the height of text span directly before the image/table.
- ``n`` (``next``) - align to the height of text span directly after the image/table.
- ``a`` (``adjacent``) - align to the maximum height text spans directly before and after the image/table (default for images).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a bit hard to parse, does it mean "the text span with the maximum height"? I.e. "tallest"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:manual Issues and PRs related to the Manual/Tutorials section of the documentation waiting on pr merge PRs that can't be merged until an engine PR is merged first

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants