如何使用jQuery在textarea中连字符串/文本? [英] How to hyphenate a string/text in a textarea using jQuery?
本文介绍了如何使用jQuery在textarea中连字符串/文本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我无法使用jQuery连字符串。似乎没有可用的图书馆。我尝试此链接但失败了。如果您知道如何使用jQuery插件根据textarea的宽度连接textarea中的字符串,请提供帮助。
I am not able to hyphenate strings using jQuery. It seems there is no library available. I tried this link but failed. Please help if you know how to hyphenate a string in a textarea according to a textarea's width using a jQuery plugin.
推荐答案
我认为Hypher是您正在寻找的:
I think Hypher is what you're looking for:
https:/ /github.com/bramstein/hypher
这篇关于如何使用jQuery在textarea中连字符串/文本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文