any-block icon indicating copy to clipboard operation
any-block copied to clipboard

Add auto alignment option in the Any block protocol

Open ahmedwael216 opened this issue 1 year ago • 3 comments

Have you read a contributing guide?

  • [X] I have read CONTRIBUTING.md
  • [X] I have searched the existing requests and didn't find any that were similar
  • [X] I have considered creating a pull request instead and want to proceed

Clear and concise description of the problem

As described here me, and others want to add automatic RTL support to AnyType.

Suggested solution

Add a new alignment option: Auto, that behaves like the HTML dir=auto.

Alternative

This could be handled by the clients just like how android is handling it correctly now.

see this

But I think the correct way is:

  • add auto to any-block
  • add an option for the user/or per space to choose default alignment
  • handle automatic alignment on every client.

Additional context

Honestly, I didn't know what exactly was the best solution, that's why I am opening an issue.

Maybe the team sees this issue as a low priority one and just handling it on every client is enough.

And maybe they see that my proposed solution is better.

Whatever it is, I just want to hear what they are thinking about this.

ahmedwael216 avatar Jul 24 '23 15:07 ahmedwael216