-
Notifications
You must be signed in to change notification settings - Fork 3
Improved block.insert() by allowing passing parameters as an object #1
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
base: next
Are you sure you want to change the base?
Conversation
src/components/modules/api/blocks.ts
Outdated
index?: number, | ||
needToFocus?: boolean, | ||
replace?: boolean | ||
newBlock |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it possible list the type, like newBlock: NewBlock
types/api/block.d.ts
Outdated
/** | ||
* Tool name | ||
*/ | ||
type?: string; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
type, config and data were compulsory previously.
types/api/blocks.d.ts
Outdated
needToFocus?: boolean, | ||
replace?: boolean, | ||
): BlockAPI; | ||
* @param newBlock - new block config |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@param {NewBlock} newBlock - new block config
No description provided.