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
Currently, inlineStyleRanges does not contain range for unstyled text, it's causing the markdown syntax to be escaped correctly.
The workflow for applying inlineStyleRanges should be:
Linearize ranges
Fill empty ranges (text without ranges) with { offset: X, length: N, style: 'unstyled' }
Since the method is called recursively, text inside bold/italic/... will be correctly escaped when required.
The text was updated successfully, but these errors were encountered:
SamyPesse
changed the title
Text without tsyle should be processed as style of type "unstyled"
Text without style should be processed as style of type "unstyled"
Mar 12, 2016
Currently,
inlineStyleRanges
does not contain range forunstyled
text, it's causing the markdown syntax to be escaped correctly.The workflow for applying
inlineStyleRanges
should be:{ offset: X, length: N, style: 'unstyled' }
Since the method is called recursively, text inside bold/italic/... will be correctly escaped when required.
The text was updated successfully, but these errors were encountered: