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

Define callbacks on initialisation #53

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

dinie
Copy link

@dinie dinie commented Sep 17, 2015

I wanted to initialise redactor with callbacks, as well as options, passed into the redactor attribute.

You can't simply throw function definitions in there, so I attached them to window, and reference them according to name.

Not sure if this is the best approach, any thoughts?

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.

1 participant