mirror of
https://github.com/discourse/discourse.git
synced 2025-04-19 20:59:05 +08:00

We don't want "ghost" `content` within mention/hashtag, as they're already rendering their non-editable content on `toDOM`. `atom: true` is not necessary for content-less nodes Re-use existing heading node spec instead of re-creating. A UX improvement from these changes is a better Cmd-Left/Home navigation when these nodes begin a paragraph and the caret is after them.