Open Marthyn opened 10 years ago
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 2e4125faa5f9798368b61feb1c0f549204251cab 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?