Add Feature: Comments can be richer (can support some safe HTML tags)

This commit is contained in:
Sam X. Chen 2019-07-22 23:33:44 -04:00
parent 0291bcde17
commit 3632f4c8ab
3 changed files with 97 additions and 63 deletions

View file

@ -54,7 +54,7 @@ BlazeComponent.extendComponent({
// XXX This should be a static method of the `commentForm` component
function resetCommentInput(input) {
input.val('');
input.val('').trigger('input'); // without manually trigger, input event won't be fired
input.blur();
commentFormIsOpen.set(false);
}