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
p:editor and execCommand
-
- Prime
- Posts: 18616
- Joined: 05 Jan 2009, 00:21
- Location: Cybertron
- Contact:
Client side api of cleditor is at;
http://premiumsoftware.net/cleditor/doc ... arted.html
There is execCommand there, maybe it will help.
widgetVar.editor will give you cleditor instance.
http://premiumsoftware.net/cleditor/doc ... arted.html
There is execCommand there, maybe it will help.
widgetVar.editor will give you cleditor instance.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 19 guests