On pressing the "Preview" button only an alert showing "Comment preview" is displayed.
See attached screenshot.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

imfaber created an issue. See original summary.

imfaber’s picture

I've been working on a patch which basically tries to replicate the D7 behaviour.
It works for my needs.
Hope it may help.

imfaber’s picture

Status: Active » Needs review

Status: Needs review » Needs work

The last submitted patch, 2: ajax_comments-add-comments-preview-2926640-1.patch, failed testing. View results
- codesniffer_fixes.patch Interdiff of automated coding standards fixes only.

qzmenko’s picture

Fatal error after applying patch and clicking on "Preview" button:

Symfony\Component\HttpKernel\Exception\HttpException: The specified #ajax callback is empty or not callable. in Drupal\Core\Form\FormAjaxResponseBuilder->buildResponse() (line 67 of /var/www/html/docroot/core/lib/Drupal/Core/Form/FormAjaxResponseBuilder.php).