-
Notifications
You must be signed in to change notification settings - Fork 12
Description
We currently have these block attributes:
languageselectedLinesshowLineswrapLines
Before we release 1.2 and blocks out in the wild start using these, we should make sure we're happy with them. I realize that showLines is actually live already, but selectedLines and wrapLines are not. I'm thinking the names don't entirely reflect what the properties do. The
| Old | New | Note |
|---|---|---|
selectedLines |
highlightedLines |
Because the UI uses “Highlighted Lines”. |
showLines |
showLineNumbers |
Lines are always shown. It's the numbers that are in view here. This also corresponds with the UI which has “Show Line Numbers”. |
I think we can support the showLines as a legacy property name which we automatically copy to showLineNumbers.
allejo
Metadata
Metadata
Assignees
Labels
No labels