Fix issue which doesn't insert the attachment bbcode in textarea