I have <p:editor />
and I need to insert predefined texts at the current cursor position.
I've been looking at the documentation for Primefaces and found nothing like it (I can clean using PF('editor').clear()
but I can not find anything to insert text)