Cmark & contentEditable

Hi there,

After reading with the 3 axioms:

  1. The mapping between DOM content and Visible content should be well-behaved.
  2. The mapping between DOM selection and Visible selection should be well-behaved.
  3. All visible edits should map onto an algebraically closed and complete set of visible content.

Has anyone achieved that with commonmark?

Kind regards,

1 Like

I would guess that it runs into the same <strong>Bilbo</strong> issues mentioned in the post: if your cursor is at the beginning of Bilbo, is it inside the **, or outside?

However this tool does it: