add text method to comment base class, which fixed exceptions from ParagraphComment.text when joining children