Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bard Transformer: Recursively map Prosemirror nodes in order to handle deeply nested images #85

Merged
merged 5 commits into from
Jan 29, 2025

Conversation

tdondich
Copy link
Contributor

@tdondich tdondich commented Jan 25, 2025

fixes #84

Utilizes recursion to navigate through the prosemirror structure to identify any deeply nested image elements and perform asset transformation as needed.

…o perform asset transformation. Add appropriate test.
@tdondich tdondich changed the title Fixes:84 - Add ability to recursively navigate html content to handle asset transformation in deeply nested img elements. fixes #84 - Add ability to recursively navigate html content to handle asset transformation in deeply nested img elements. Jan 25, 2025
@duncanmcclean duncanmcclean changed the title fixes #84 - Add ability to recursively navigate html content to handle asset transformation in deeply nested img elements. Bard Transformer: Recursively map Prosemirror nodes in order to handle deeply nested images Jan 29, 2025
Copy link
Member

@duncanmcclean duncanmcclean left a comment

Choose a reason for hiding this comment

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

Thank you!

@duncanmcclean duncanmcclean merged commit e41a14d into statamic:main Jan 29, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BardTransformer fails to handle deep child image elements when performing asset transforming
2 participants