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.
What does this change?
This exports the
AltStyleElementWrapper
for use in theTimelineForm
in Composer. We may want to move this to Composer in the long run, but I'm leaving that for a future optimisation.It also adds a
flex-grow
style to ProsemirrorFields, i.e. text, rich text and nested. This won't affect most uses but will cause the text fields to fill their horizontal space in a flex layout.How to test
This should be a no-op, but you can test locally with my current branch on Composer:
https://github.com/guardian/flexible-content/compare/main...rm/alt-style-timeline