BlockNote icon indicating copy to clipboard operation
BlockNote copied to clipboard

Could you consider implementing UI for vertical writing?

Open haruu8 opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe.

When trying to implement a Japanese vertical writing editor, the style gets disrupted.

Describe the solution you'd like

I would like it to take a direction prop, and if it's 'vertical', have it work in vertical writing as well.

Describe alternatives you've considered

Evaluate with a prop like vertical: boolean Configuring the CSS myself (when it becomes vertical writing, a significant amount of rewriting becomes necessary, making it hard to accommodate future updates).

Additional context After i added some style

body {
  text-orientation: upright;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

The screen looks like the attached image and is out of style.

  • placeholder
  • slash menu
  • format menu

Should I customize CSS on my own? Or could you consider implementing UI for vertical writing?

Screenshot 2023-10-26 at 14 37 13 Screenshot 2023-10-26 at 14 31 23 Screenshot 2023-10-26 at 14 31 37

haruu8 avatar Oct 26 '23 05:10 haruu8

Right now we're still focusing on fixing bugs and adding highly requested features, but localization support is definitely on the roadmap. We'll probably look into this issue when working on that👍

matthewlipski avatar Oct 26 '23 13:10 matthewlipski