You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, thanks for the great library. I have an issue with the newlines inserted into the editor, at different page widths (brought about by having two collapsing sidebars). Here is the problem in pictures...
I suppose the next step is trying to strip out the newlines, but I have no idea how to distinguish between good and bad newlines... so any help would be gratefully appreciated, to avoid the newlines being inserted in the first place. Thanks!
The text was updated successfully, but these errors were encountered:
Update: the issue was nothing to do react-md-editor! I am using the Ruby Kramdown gem to process the data in and out of the database. Turns out it has a default line_width of 72. The issue pictured was due to this, and was nothing to do with the expanding / collapsing sidebars.
On current latest version: v3.20.5
Hello, thanks for the great library. I have an issue with the newlines inserted into the editor, at different page widths (brought about by having two collapsing sidebars). Here is the problem in pictures...
Before persisting to the database:
After persisting:
I've tried reloading the textarea:
and overriding styles, and setting overflow to hidden, and highlightEnable to false, and anything else mentioned in the issues!
I suppose the next step is trying to strip out the newlines, but I have no idea how to distinguish between good and bad newlines... so any help would be gratefully appreciated, to avoid the newlines being inserted in the first place. Thanks!
The text was updated successfully, but these errors were encountered: