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

Callback function for Toolbar element to get the state of the block #192

Closed
anilknayak opened this issue Jun 29, 2020 · 1 comment
Closed
Labels
question / support Further information is requested

Comments

@anilknayak
Copy link

I have implemented the stale-plugins

I have one doubt:
Ex: After I click the toolbar element to create code block, Can I get the content of that code block after its creation.

Do you have nay callback function to get the state of the code block.

@zbeyens zbeyens added the question / support Further information is requested label Jun 30, 2020
@zbeyens
Copy link
Member

zbeyens commented Jun 30, 2020

You can try to use queries on the editor, like getBlockAboveSelection.

@zbeyens zbeyens closed this as completed Jun 30, 2020
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question / support Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants