Conversation
|
Does anybody @apinf/developers know where can I find this? |
|
The configuration settings for our accounts templates can be found here: Refer to the Accounts Temlates configuration guide to see how to add the privacy policy and terms URLs. |
|
Discussed with @brylie and we agreed to add rich text editor. |
branding/collection/helpers.js
Outdated
|
|
||
| // If editor is empty (has only this empty div) | ||
| // see https://github.com/quilljs/quill/issues/1235 | ||
| if (privacyPolicy === '<div><br></div>') { |
There was a problem hiding this comment.
Rather than using a template helper to check for <div><br></div>, lets try an AutoForm.onSubmit hook to look for that string. If the privacyPolicy === '<div><br></div>', then set the field value to undefined.
There was a problem hiding this comment.
For GitHub cross-reference, here is the Quill issue from this PR comment: slab/quill#1235
|
@brylie please review. |
|
Looks good. We tried to update the branding doc to remove the |
Closes #2122