But I'm not sure it's relevant to using summer-note w/ autoform is it? And autoform hooks are client-side, so we can't use sanatize in an autoform before hook?
It seems other people are confused as well. This person (link below) is trying to put the allowed values into the simpleschema's summer-note settings object , but it seems like the sanatize call has to happen in a method? That's assuming your autoform is submitted and updated using a method?
Can you provide a quick example of how to sanitize with this package?
You provide some insight here:
https://github.com/mpowaga/meteor-autoform-summernote/issues/13
But I'm not sure it's relevant to using summer-note w/ autoform is it? And autoform hooks are client-side, so we can't use sanatize in an autoform before hook?
It seems other people are confused as well. This person (link below) is trying to put the allowed values into the simpleschema's summer-note settings object , but it seems like the sanatize call has to happen in a method? That's assuming your autoform is submitted and updated using a method?
SO below:
http://stackoverflow.com/questions/36240098/sanatize-html-on-server-in-schema
Lastly, great package! Thanks.