Skip to content

[MBL-2893] Add RichTextView container#2813

Open
stevestreza-ksr wants to merge 1 commit intostevestreza/sdui-content/parsing-rich-textfrom
stevestreza/sdui-content/richtextview
Open

[MBL-2893] Add RichTextView container#2813
stevestreza-ksr wants to merge 1 commit intostevestreza/sdui-content/parsing-rich-textfrom
stevestreza/sdui-content/richtextview

Conversation

@stevestreza-ksr
Copy link
Copy Markdown
Contributor

📲 What

This adds a container view called RichTextView which will take a list of RichTextElements and turn them into individual block views.

Actual content will be implemented in other PRs.

🤔 Why

Rich Text is a series of block-level elements of different types. This view handles dealing with turning a list of RichTextElements into a list of SwiftUI views.

🛠 How

Nothing crazy here, just adds a SwiftUI view and a switch statement based on what appears in a list parameter.

Placeholder views are used for now for rendering content. Actual block views will be implemented in future PRs.

👀 See

image

♿️ Accessibility

Accessibility will be implemented in individual blocks in follow up PRs.

🏎 Performance

Blending will be implemented in individual blocks in follow up PRs.

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