feat: make images uploaded into table cell adjust to width of cell#2317
Open
johanneswilm wants to merge 1 commit intosuperdoc-dev:mainfrom
Open
Conversation
rather than width of page
Contributor
Author
|
Tables and table cells are an extension to the main editor, and this adds code that references table cells right in the main Editor. However, I see that table cellNodes are referenced numerous other places within the |
Contributor
Author
|
@harbournick @caio-pizzol This is ready for review. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
getMaxContentSize()whether cursor is positioned within table cell or table header cell, and if so, attempts to return the widths of these with a fallback to the page width.