开发者

TinyMCE Editor - How to make the Textarea word-wrap without scrollbars just like MS Word?

When I enter a line like aaaaaaaaaaaaaaaa.....aaaaaa with no spaces in between, TinyMCE editor will create a scroll-bar automatically. How do I make it go to the next line instead? With spaces between words, TinyMCE wraps fine. This is how MS Word work开发者_开发技巧s for example. I think this feature is called Text-Wrap?


Looks like you will have to do something on your own. You could check for the paragraph width and if it overflows a predefined value you could insert a space before the next a.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜