Skip to content

Conversation

@susnux
Copy link
Contributor

@susnux susnux commented Jul 17, 2025

☑️ Resolves

  1. Move prepareTextNode into NcRichText, as it is only used by this component. SFC (single file components).
  2. Add types where needed
  3. Add some proper types to work with unist plugins

🏁 Checklist

  • ⛑️ Tests are included or are not applicable
  • 📘 Component documentation has been extended, updated or is not applicable
  • 2️⃣ Backport to stable8 for maintained Vue 2 version or not applicable

- partially for #841

1. Move `prepareTextNode` into `NcRichText`, as it is only used by this
   component. SFC (**single** file components).
2. Add typings where needed
3. Add some proper types to work with unist plugins

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux added this to the 9.0.0 milestone Jul 17, 2025
@susnux susnux added 3. to review Waiting for reviews feature: richtext Related to the richtext component refactor ♻️ Pull request that is neither a fix nor a feature labels Jul 17, 2025
Copy link
Contributor

@Antreesy Antreesy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise valid

@susnux susnux merged commit e278263 into main Jul 17, 2025
24 of 25 checks passed
@susnux susnux deleted the chore/refactor-nc-richtext branch July 17, 2025 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews feature: richtext Related to the richtext component refactor ♻️ Pull request that is neither a fix nor a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants