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

The table should not save the caption in the model attribute #9590

Merged
merged 4 commits into from
May 5, 2021

Conversation

maxbarnas
Copy link
Contributor

Suggested merge commit message (convention)

Fix (table): The table should not save the caption in the model attribute to prevent issues in collaboration. Closes #9543.


Additional information

For example – encountered issues, assumptions you had to make, other affected tickets, etc.

@maxbarnas maxbarnas changed the base branch from master to i/3204-table-caption April 29, 2021 10:18
@maxbarnas maxbarnas force-pushed the i/9543-table-caption-storage branch from 03373f5 to 6c797b9 Compare April 29, 2021 10:22
@maxbarnas maxbarnas marked this pull request as ready for review April 29, 2021 11:31
@maxbarnas maxbarnas requested a review from niegowski April 29, 2021 11:31
Comment on lines 282 to 291
setData( model,
'<table>' +
'<tableRow>' +
'<tableCell>' +
'<paragraph></paragraph>' +
'</tableCell>' +
'</tableRow>' +
'<caption></caption>' +
'</table>'
);
Copy link
Contributor

Choose a reason for hiding this comment

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

This would override the model and the original issue would not happen. You should modify the model by removing the caption content.

@niegowski niegowski merged commit 8424e05 into i/3204-table-caption May 5, 2021
@niegowski niegowski deleted the i/9543-table-caption-storage branch May 5, 2021 14:33
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.

The table should not save the caption in the model attribute to prevent issues in collaboration
2 participants