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
{{ message }}
This repository has been archived by the owner on Feb 6, 2023. It is now read-only.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. You can use this jsfiddle to get started: https://jsfiddle.net/gmertk/e61z7nfa/.
move to the start of second line, press enter. press up to move the cursor to the newly created line.
input words.
you can see it inherited the first line's bold.
What is the expected behavior?
When startOffset is 0, and startBlock.getLength() is 0, getInlineStyleForCollapsedSelection and getInlineStyleForNonCollapsedSelection should return empty OrderedSet() rather than lookUpwardForInlineStyle;
Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Do you want to request a feature or report a bug?
bug.
What is the current behavior?
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. You can use this jsfiddle to get started: https://jsfiddle.net/gmertk/e61z7nfa/.
https://draftjs.org/
you can see it inherited the first line's bold.
What is the expected behavior?
When
startOffset
is 0, andstartBlock.getLength()
is 0,getInlineStyleForCollapsedSelection
andgetInlineStyleForNonCollapsedSelection
should return emptyOrderedSet()
rather thanlookUpwardForInlineStyle
;Which versions of Draft.js, and which browser / OS are affected by this issue? Did this work in previous versions of Draft.js?
The text was updated successfully, but these errors were encountered: