0
votes

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

1

1 Answers

0
votes

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