p:editor and execCommand
Posted: 02 Feb 2011, 18:33
Hi,
is there a way to call execCommand (as supported by the original cleditor) on the Primefaces p:editor?
What I'm trying to achieve is either:
a) replace the currently selected text with another text or
b) insert a new text at the current cursor position
is there a way to call execCommand (as supported by the original cleditor) on the Primefaces p:editor?
What I'm trying to achieve is either:
a) replace the currently selected text with another text or
b) insert a new text at the current cursor position