0

I want to implement Line Spacing options (single,double, exactly ,line per inch) in react-draft-wysiwyg editor but currently i don't think that it is support Custom line spacing , Open Issue , problem statement is i want to apply different line spacing on different paragraphs as per user input how i should be able to implement this feature ?

By changing line height of editor it will apply line height on whole editor but i want to be specific on user selected paragraphs

Ali
  • 557
  • 1
  • 9
  • 30

1 Answers1

0

The solution is to set blockData and in render via blockstylefn set the correct style to block.
Take a look at these:

סטנלי גרונן
  • 2,917
  • 23
  • 46
  • 68