# Hard Wrapping using hardwrap.js for long words splits words

**URL:** <https://discuss.codemirror.net/t/hard-wrapping-using-hardwrap-js-for-long-words-splits-words/2488>\
**Category:** Uncategorized\
**Created:** [June 26, 2020, 4:50am UTC](https://discuss.codemirror.net/t/hard-wrapping-using-hardwrap-js-for-long-words-splits-words/2488 "2020-06-26T04:50:42Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![kaushikcfd](https://discuss.codemirror.net/letter_avatar_proxy/v4/letter/k/4af34b/32.png) [@kaushikcfd](https://discuss.codemirror.net/u/kaushikcfd)\
**Post date:** [June 26, 2020, 4:50am UTC](https://discuss.codemirror.net/t/hard-wrapping-using-hardwrap-js-for-long-words-splits-words/2488/1 "2020-06-26T04:50:42Z")

</div>

Hello!  
I am using the hardwrap.js addon in a markdown editor and I’m invoking `wrapRange` with a hard wrap column of 80. If I have a long word with \> 80 characters (which is common for URLs) I notice that `wrapRange` would _split_ the word and alter the semantics of the document.

**Q.** Is there a way such words wouldn’t be split?

The behavior I’m expecting is: in such cases lines are allowed to overflow the 80 column limit.

Thanks in advance.

---

_[View the full topic](https://discuss.codemirror.net/t/hard-wrapping-using-hardwrap-js-for-long-words-splits-words/2488)._
