0

How to catch selected text in Fckeditor?

asked 2009-01-12 16:05:42 +0800

nat gravatar image nat
195 3

Hi all
In my zk app, I would like to catch a word selected with the mouse or double click in the fckeditor. Only one word at a time, not the whole content.
Is there a way to produce this?
-Nat
(I wouldn't say "Please Help!", because most of my posts get forgotten anyway... forcing me to find the solutions myself.. Why this? No Moderator at ZK??)

delete flag offensive retag edit

5 Replies

Sort by ยป oldest newest

answered 2009-01-13 01:12:35 +0800

RyanWu gravatar image RyanWu
533 2
about.me/flyworld

If you want to get perfect solution or some work around quickly,
why don't you buy some online support?
they guaranteed to be responded within 2 business days.
in zk forum, there's no strange if some question could be ignored.

link publish delete flag offensive edit

answered 2009-01-13 13:19:21 +0800

nat gravatar image nat
195 3

updated 2009-01-13 13:19:52 +0800

Hi RyanWu
Obviously this is not an answer to my fckeditor problem...! You see what I mean?? Nobody helps out here! (-:)) This forum is for Zealots like me trying very hard to get a comprehensive overview of ZK..
Buying online support????!!! Hummm??!!
Give me tha money for...! ha ha ha... Am not a company, just an enthusiast java developer.. So, Please Help!
Cheers.
-nat

link publish delete flag offensive edit

answered 2009-01-15 09:23:10 +0800

RyanWu gravatar image RyanWu
533 2
about.me/flyworld

updated 2009-01-15 09:23:16 +0800

about your question,
after trying on zkdemo, i found that i can select one word by double click
i think you can use js to catch the double click event, and do something you want.

link publish delete flag offensive edit

answered 2009-01-15 11:55:57 +0800

jeanher gravatar image jeanher
1719 1 6
ZK Team

Yes, try it here: http://www.zkoss.org/zkdemo/userguide/#f4

link publish delete flag offensive edit

answered 2009-01-15 14:41:38 +0800

nat gravatar image nat
195 3

Thank you RyanWu and jeanher
Yes I know somebody could select a word in the editor by double clicking on that.
My solution is cleary near a javascript code to produce the "onDoubleClick" event on fckeditor.
As am not so founded in js (Yes i know, mea culpa, mea maxima culpa!), could somebody provide me with a hint/solution?
Thank you very much!
-nat

link publish delete flag offensive edit
Your reply
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-01-12 16:05:42 +0800

Seen: 270 times

Last updated: Jan 15 '09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More