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
Right now you can use a type string as a shorthand for properties in many places. I'd like to remove this because it's really not harder to properly write it out as an object and I think it makes the API harder to read when the shorthand is used.
So, for example...
editor.setBlocks('paragraph')
Becomes...
editor.setBlocks({type: 'paragraph'})
The text was updated successfully, but these errors were encountered:
Do you want to request a feature or report a bug?
Debt.
What's the current behavior?
Right now you can use a type string as a shorthand for properties in many places. I'd like to remove this because it's really not harder to properly write it out as an object and I think it makes the API harder to read when the shorthand is used.
So, for example...
Becomes...
The text was updated successfully, but these errors were encountered: