Open libregeek opened 7 years ago
Weird, what configuration are you using? Here the whole word drops to the next line thus not breaking it.
Here is my config:
var descMde = new SimpleMDE({
element: document.getElementById("description"),
autoDownloadFontAwesome: false,
spellChecker: false,
toolbar: ["bold", "italic", "heading", "|", "unordered-list", "ordered-list", "|", "link", "image", "|", "quote", "code", "table", "|", "preview", "guide"],
});
I feel like this is being caused by some CSS affecting the word-break
property.
Try removing all stylesheets you might have with the exception of the one already provided by SimpleMDE and check if it solves the issue.
It's actually part of another application (mantisbt.org), so removing all css may not be easy. One option is to override the word-break property
Does SimpleMDE supports hyphenation? In my application words are broken which makes it difficult to read. See the screenshot.