-
Notifications
You must be signed in to change notification settings - Fork 559
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
Inline text runs #1933
Comments
I like the proposal overall, but I am not sure we need to introduce TextRun, ImageRun, etc. Why not use the existing elements types, and reject elements we don't want to support as inlines (like ColumnSet for instance)? |
Good thoughts. There would be some properties that wouldn't make sense (like |
Proposal approved: We should keep inheritance separate such that We'll have to see whether adding |
Added italic support |
Updated the spec...
Future 1.3 features
|
Spec changes today (David, Matt, Paul, Shalini, Becky, Andrew, Alberto, and Bill were on the call)...
Future 1.3 features
|
This is completed. |
✔️ Android (#2380)
✔️ iOS (#2379)
✔️ TS (#2422)
✔️ UWP (#2377)
✔️ Designer (#2527)
Solves requests
Summary
Introduce something similar to XAML's RichTextBlock, where you provide an array of runs, allowing you to do inline rich text formatting.
Schema
New element,
RichTextBlock
string
"RichTextBlock"
IInlineRun[]
string
null
string
default
boolean
false
true
, draw a separating line at the top of the element.New inline element,
TextRun
(implementsIInlineRun
).string
"TextRun"
string
IAction
Action.ShowCard
is NOT supported.string
default
default
.boolean
false
true
, displays text slightly toned down to appear less prominent.string
default
string
default
boolean
false
true
, displays the text using italic font.boolean
false
true
, displays the text with strikethrough.boolean
false
true
, displays the text highlighted.string
default
default
andmonospace
Example
Host Config
Container foregroundColor values have a new property, highlightColors.
Down-level impact
High. Content is completely dropped due to unknown element.
Host burden
Medium if we support highlighting (since they need to choose highlighting colors for every color and emphasis combination).
Auto-generated task status
The text was updated successfully, but these errors were encountered: