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

RFC: Adding a presave hook in editor focusoutHandler #279

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andrewshell
Copy link
Contributor

I'm curious if there have been any conversations about providing hooks in the code to allow plugins to extend core functionality. Here is an example of adding a "presave" hook to the editor.

I've created a plugin that would use this hook as a proof of concept.

https://github.com/andrewshell/wiki-plugin-metadata/blob/master/client/metadata.js#L26-L35

I'm sure there will need to be discussions before something like this gets merged. So I'm documenting the idea with working code.

@dobbs
Copy link
Member

dobbs commented Dec 29, 2021

A while back I created a feature to allow plugins to override the editor. It's not the same thing as the presave hook you've proposed, but I think reaching for similar kinds of extensions.
#247

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 this pull request may close these issues.

None yet

2 participants