[wp-meta] [Making WordPress.org] #1865: Add a comment preview in the front end
Making WordPress.org
noreply at wordpress.org
Fri Jul 29 14:08:29 UTC 2016
#1865: Add a comment preview in the front end
---------------------------+------------------
Reporter: keesiemeijer | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Developer Hub | Resolution:
Keywords: has-patch |
---------------------------+------------------
Comment (by keesiemeijer):
[attachment:1865.patch] adds a live preview of the comment after the
comment form with a AJAX. The preview is updated after you stop typing for
1.5 seconds. A button `preview note` is added to the editor. By applying
the comment text filters in the AJAX callback all syntax highlighting and
other styling is applied as it is with a submitted comment.
I've moved the `syntaxhighlighter_htmlresult` filter from
`/inc/handbooks.php` to `/functions.php` because source code could be in
post content, comments and handbooks.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1865#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list