-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'use_preview' => true - doesn't seem to work #281
Comments
html_allowed: false # allow for sanitized HTML in comments
html_allowed_elements:
- a
- img
- i
- b
use_preview: false # preview formatted comment (when allowing HTML). Requires include_js=true Indicates that HTML is disabled by default, and is required for the preview.
The above however indicates that the assumption of AJAX is correct, and https://github.com/silverstripe/silverstripe-comments/blob/3812057b0075cf37fccc5111fa35b5a754aa6031/javascript/CommentsInterface.js contains no reference to |
This functionality was commented out when the nested comments concept was introduced.
This code was removed for the next major version as it was all commented out. silverstripe-comments/javascript/CommentsInterface.js Lines 99 to 134 in 468df23
|
Question time: |
Comments 3.2.x-dev
Not sure if this was supposed to do an AJAX request to get a rendered comment preview or something, but all it does now is render an empty field on the frontend:
Nothing in the JS console.
The text was updated successfully, but these errors were encountered: