Skip to content

Add singleParagraphBreak property #98

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

carlinisaacson
Copy link

Adds a the property singleParagraphBreak that will set the line break after paragraphs to a single line instead of two.

Resolves #7

@eseQ
Copy link

eseQ commented May 5, 2017

@jsdf What about accept that PR? I think that nice idea.

@bas-ie
Copy link
Collaborator

bas-ie commented Jul 23, 2017

Closing because I hope that we'll be able to style block level elements a bit more precisely sometime soon. Also, just in case you haven't seen them yet, review docs for paragraphBreak, lineBreak, and addLineBreak props.

@bas-ie bas-ie closed this Jul 23, 2017
@Liqiankun
Copy link

This is my code.

<HTMLView value={description}
                    addLineBreaks={false}
                    stylesheet={htmlStyle}/>

the paragraph is still huge! I want set the paragraph space through the p tag. It does not work!

@dhcmega
Copy link

dhcmega commented Jan 24, 2018

@Liqiankun have you solved this?
I get double linebreak with each

@An3ramirez
Copy link

An3ramirez commented Jan 10, 2019

value={"<div>"+item.teaser+"</div>"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants