Rich text / foldkit-richtext

sameMark

function · packages/richtext/src/marks.ts:124

function sameMark(left: RunMark, right: RunMark): boolean

Whether two marks are the same mark with the same props. This is the equivalence normalization merges on, so props compare structurally and key order does not matter.