Skip to content
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

[FEATURE] Simplify API for creating custom plugin #131

Closed
1 task done
Darginec05 opened this issue May 2, 2024 · 2 comments · Fixed by #135
Closed
1 task done

[FEATURE] Simplify API for creating custom plugin #131

Darginec05 opened this issue May 2, 2024 · 2 comments · Fixed by #135
Assignees

Comments

@Darginec05
Copy link
Collaborator

Is this a unique feature?

  • I have checked "open" AND "closed" issues and this is not a duplicate

Is your feature request related to a problem/unavailable functionality? Please describe.

Yes

Proposed Solution

Should be added next methods for blocks:

  • editor.blocks.[type].createElement
  • editor.blocks.[type].deleteElement
  • editor.blocks.[type].updateElement
  • editor.blocks.[type].getElement

Screenshots

No response

Do you want to work on this issue?

Yes

If "yes" to the above, please explain how you would technically implement this (issue will not be assigned if this is skipped)

No response

@Darginec05 Darginec05 self-assigned this May 2, 2024
@Darginec05
Copy link
Collaborator Author

Also should be added hook to add events to specific block.
Something like useBlockEvents

@Darginec05
Copy link
Collaborator Author

Available in v4.5.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant