Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add justify option in editor #395

Open
virgile-dev opened this issue Oct 28, 2024 · 0 comments
Open

Add justify option in editor #395

virgile-dev opened this issue Oct 28, 2024 · 0 comments
Assignees

Comments

@virgile-dev
Copy link
Collaborator

virgile-dev commented Oct 28, 2024

Feature Request

Is your feature request related to a problem or unsupported use case? Please describe.
As a user, I want to be able to justify my text.

Describe the solution you'd like
Add the option on the editor.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Discovery, Documentation, Adoption, Migration Strategy
The justify option is supposed to be native in BlocNote.js : https://www.blocknotejs.org/docs/editor-basics/default-schema#default-block-properties

This is especially important for users who want to export the doc.

Pointers by Yousef (blocnote.js)

-> this is where you add the formatting toolbar buttons. By default, they don't include a button for "justify", so you'd have to add that yourself
e.g.: <TextAlignButton textAlignment={"justify"} key={"textAlignJustifyButton"} />,

@virgile-dev virgile-dev converted this from a draft issue Oct 28, 2024
@virgile-dev virgile-dev changed the title Add jusitify option in editor Add justify option in editor Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To do
Development

No branches or pull requests

2 participants