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 }}
Repository navigation
Update text formatting based on RangeSelection#2617
Is it possible to apply formatting to portions of editor text parameterized by RangeSelections? If so, what is a simple way to do so?
I am trying to implement a basic comment system where I will create a data structure which maps RangeSelections to comment data. This means I would load the comment data and the editor separately, and would need to apply highlight formatting to the editor based on the comment data. I am roughly following the separate data structure pattern described in #1839.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Is it possible to apply formatting to portions of editor text parameterized by
RangeSelections? If so, what is a simple way to do so?I am trying to implement a basic comment system where I will create a data structure which maps
RangeSelections to comment data. This means I would load the comment data and the editor separately, and would need to apply highlight formatting to the editor based on the comment data. I am roughly following the separate data structure pattern described in #1839.Thanks so much!
All reactions