I've continued with just using version 0.4.3 of Sir Trevor (I think they're going to release v5 soon, which will have a block_manager), and I made the editor get(), set() and clear() functions work with it.
I've also taken a stab at directly binding the data of the SirTrevor form, so it can be used in a "live update" way, sort of like a regular input control in Angular.
I can put some (or all) of these changes into a pull request. Please note, this is not directly backwards compatible, because I changed the scope signature of the ng-sir-trevor directive.
Take a look at:
https://github.com/markwpearce/ng-sir-trevor
I've continued with just using version 0.4.3 of Sir Trevor (I think they're going to release v5 soon, which will have a block_manager), and I made the editor get(), set() and clear() functions work with it.
I've also taken a stab at directly binding the data of the SirTrevor form, so it can be used in a "live update" way, sort of like a regular input control in Angular.
If you check out my fork, you can also run:
and go to http://localhost:3000/example to see it in action.
I can put some (or all) of these changes into a pull request. Please note, this is not directly backwards compatible, because I changed the scope signature of the ng-sir-trevor directive.