Max Stoiber
Max Stoiber
/cc @uberbryn
Yep yep. This is very alpha, so lots of functionality like that is still missing :wink: Would appreciate PRs!
I tried my hand at this, but the issue is that the Slate rule at the moment only gives us a single block, meaning we cannot detect if there's a...
Oh sorry, I forgot to update this repo! We've switched to DraftJS, so while this works ~relatively well it's no longer actively maintained. (reference: https://github.com/withspectrum/slate-mentions/issues/14) Happy to move this repo...
What about "Your Caretaker" or "Your health reminder" or something?
Did you specify the engine like so? ``` JS new Email('sometemplate.hbs', { engine: require('handlebars'), }).send(); ``` (excuse any typos and the contrived example, am in the train)
Can you please show us the code you use? It's really hard to debug with just your explanations 😉
Are you passing in the transport? ``` JS new Email('template.pug', { transport: 'mailgun', // or 'mandrill' }).send(); ```
Can you copy and paste the code? It's kind of hard to diagnose like this!
The API is a bit unnecessarily verbose, isn't it? Why not something along the lines of ``` JS Post.permissions = { userFieldOptions: () => {}, /* … */ }; ```