Skip to content
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

Retrieve text lines without rendering to DOM #73

Open
chrispytoes opened this issue Jun 21, 2021 · 1 comment
Open

Retrieve text lines without rendering to DOM #73

chrispytoes opened this issue Jun 21, 2021 · 1 comment

Comments

@chrispytoes
Copy link

Is there a way to do a readonly line split? I just need to detect where the line breaks are in an element and return each line in an array of strings so I can render them myself using React. I do not want the lines automatically split into elements in the DOM for me.

This library does not play well with binding frameworks at all without this ability.

@craigrileyuk
Copy link

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

No branches or pull requests

2 participants