-
Notifications
You must be signed in to change notification settings - Fork 50
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
Update to latest version of sir-trevor-js master branch and fix bindFormSubmit #19
base: master
Are you sure you want to change the base?
Conversation
I just saw problems when adding new types of content, i will make views in ruby for that and update this pull request. |
Finished new blocks, can be merged. |
Is there any reason why this pull-request is dead? It would be great to have the latest version of Sir-Trevor in here. |
I haven't worked on it because we don't use it anymore. Also i never got a reaction to this PR unfortunately. I did really like the code and wouldn't mind keeping this up if there's a need for that. |
Add new javascript and css
Also made a fix SirTrevor.bindFormSubmit 2e4125f
The formbound variable is set to the SirTrevor object. This means when you have multiple instances the formBound attribute will be set as true on the first time and won't bind onFormSubmit to the other forms. This broke our application and therefor we made this fix. Maybe this is not the best solution, but it works for us. A formBound on the Editor instance would maybe work?