Callback action will be passed two parameters, `event` and `popline` itsself. Please use `popline.target` instead of hard code `$(".editor")`.
Because the target selector is defined by user.

Thanks