I am using TinyMCE text editor and the text within the does not roll over when the line goes beyond the width, rather a scroll bar appears and the text goes on horizontally. How can I confine the text withing the text box width and not have a horizontal scroll bar.
相关问题
- Reference for inserted element through execCommand
- How to change the first two uppercase characters o
- TinyMCE Not Working in Angular-Cli Project
- Validating TinyMCE using Parsley
- Looking for light text rich editor for enterprise
相关文章
- Gallery space at beginning and end
-
TinyMCE: How do I prevent `
- TinyMCE moxiemanager
- Get input field value from dialog box in TinyMCE
- Add class to element inserted with TinyMCE
- Open Atom editor from git shell
- TinyMCE with Django: “This field is required”
- On a web page, how can i have a scroll bar just fo
There's a param in TinyMCE that adds CSS style which makes text spread wide without wrapping it by the container box (adding horizontal scrollbar). It's boolean "nowrap". To make text wrapped inside the container box set it to false (this actually a default):
.tinymce-content { white-space: normal; }
This sounds like a CSS issue. Can you provide a working example or demo URL? It sounds like the text is not wrapping to its container.
Also, text won't wrap unless it contains spaces or hyphens, if that makes a difference.