You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
We currently have these block attributes:
language
selectedLines
showLines
wrapLines
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, butselectedLines
andwrapLines
are not. I'm thinking the names don't entirely reflect what the properties do. TheselectedLines
highlightedLines
showLines
showLineNumbers
I think we can support the
showLines
as a legacy property name which we automatically copy toshowLineNumbers
.The text was updated successfully, but these errors were encountered: