Skip to content

Wrap image caption in text object - #45

Open
vnugent wants to merge 1 commit into
hanford:masterfrom
vnugent:master
Open

Wrap image caption in text object#45
vnugent wants to merge 1 commit into
hanford:masterfrom
vnugent:master

Conversation

@vnugent

@vnugent vnugent commented Nov 2, 2021

Copy link
Copy Markdown

Fixing issue #44

Comment thread src/deserialize.ts
Comment on lines 125 to +126
[imageSourceKey]: node.url,
[imageCaptionKey]: node.alt,
[imageCaptionKey]: [{ text: node.alt }],

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Personally don't like that these two are diverging, I also wonder if this should be a flag or could be more generic so consumers could configure.

Thoughts?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

+1 to making this configurable as per my comment on issue #44, I think that would solve my scenario nicely.

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.

3 participants