Enable alignment of diagrams using the text alignment buttons from the page-editor #4458

Open
opened 2026-02-05 08:56:27 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @hbertsch on GitHub (Feb 12, 2024).

Describe the feature you'd like

Currently only text and images react to the text alignment if I select left, right, center from the editor menu. A selected diagram is not responding to this and - by default - is always aligned to the left side of the page

Enable_Diagram_Alignment_Editor

Describe the benefits this would bring to existing BookStack users

  • The user could intuitively use the alignment buttons to lay out diagrams on a page
  • Instead of using a custom hack it would be possible to individually align diagrams on a page.
  • The hack from https://github.com/BookStackApp/BookStack/issues/4463 is working, but only on a global level and will set the diagram alignment for all diagrams an all pages to the same value.

Can the goal of this request already be achieved via other means?

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?

Under 3 months

Additional context

No response

Originally created by @hbertsch on GitHub (Feb 12, 2024). ### Describe the feature you'd like Currently only text and images react to the text alignment if I select left, right, center from the editor menu. A selected diagram is not responding to this and - by default - is always aligned to the left side of the page <img width="495" alt="Enable_Diagram_Alignment_Editor" src="https://github.com/BookStackApp/BookStack/assets/14974052/604795bf-0be5-4e64-8723-a70cb1b50b14"> ### Describe the benefits this would bring to existing BookStack users - The user could intuitively use the alignment buttons to lay out diagrams on a page - Instead of using a custom hack it would be possible to individually align diagrams on a page. - The hack from https://github.com/BookStackApp/BookStack/issues/4463 is working, but only on a global level and will set the diagram alignment for all diagrams an all pages to the same value. ### Can the goal of this request already be achieved via other means? - Only with a global hack from https://github.com/BookStackApp/BookStack/issues/4463 ### Have you searched for an existing open/closed issue? - [X] I have searched for existing issues and none cover my fundamental request ### How long have you been using BookStack? Under 3 months ### Additional context _No response_
OVERLORD added the 🔨 Feature Request label 2026-02-05 08:56:27 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#4458