0

How can we vertically align text within a draftjs text editor? It should support top, center and bottom alignments.

Stanly
  • 663
  • 1
  • 9
  • 26

1 Answers1

1

Of course this is possible, you just need to write a custom component:

https://draftjs.org/docs/advanced-topics-block-components

mzedeler
  • 4,177
  • 4
  • 28
  • 41