It is necessary for me to place HTML comments <!-- XX --> into the cutesoft editor. In order to do so I have attempted to follow the examples as set out on the cutesoft website for entering custom text into a dialog (in order to fill the text inside the comment tags) and using the PasteHTML function to paste it into the editor at the location of the cursor. In order not to lose the cursor location, I have made use of a custom toolbar button which opens the dialog in which a user can add the text.
On insert however, the comment does not appear at the cursor location. When used, it is placed at the beginning of the text, or even stripped completely when using different paste configuration options. When I use the code view property to add the custom button to the toolbar in the code view (in order to paste HTML into an HTML view) I cannot see any effect whatsoever in the editor when I try to add a comment.
Has anyone else worked with trying to enter <!-- XX --> comments into the editor? I have seen several posts about paste problems where text was located in the start of the text after pasting but none of these seem to apply to the situation at hand (and the code is similar).