Skip to content

refactor reference definitions in Markdown serializer #8821

Closed

Description

@mejo-

In #8717 we introduced a referenceDefinitions object that is passed in the options of the prosemirror-markdown serialize option. In the Vue 3 PR we migrated the markdown extension to Typescript which revealed that referenceDefinitions is not a valid object property. We made Typescript ignore this for now, but this needs to be fixed properly.

One idea is to instead of passing and filling the referenceDefinitions map in the serializer introduce something like a getReferencesFromContent() function that is called after the Markdown serializer.

Activity

  1. moved this to 🧭 Planning evaluation (don't pick) in 📝 Productivity teamon Jul 6, 2026
  2. moved this from 🧭 Planning evaluation (don't pick) to 📄 To do (~10 entries) in 📝 Productivity teamon Jul 6, 2026
  3. moved this from 📄 To do (~10 entries) to ☑️ Done in 📝 Productivity teamon Jul 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions