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 was archived by the owner on Apr 16, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 16, 2026. It is now read-only.
markText won't set attributes without a className #6414
// has no effect:cm.markText(somePt,someOtherPt,{attributes: {'data-foo': 'bar'}})// sets class and attribute:cm.markText(somePt,someOtherPt,{attributes: {'data-foo': 'bar'},className: 'dummy'})
markText should set the attributes for the given range irrespective of the presence of className.
Activity
marijnh commentedon Sep 15, 2020
Attached patch should help.
marcandre commentedon Sep 15, 2020
Great, thanks 👍
Update/5.58.2 (#1)
Fix drawing of marked text with only attributes