The Problem is with the Scroll bar which is automatically scrolling to FCK Editor's starting point (Top position)after the user selects some item from the suggestion box.
But Actally the scroll bar should be at the same position where user selects the item.
And Cursor is also missing after the selection.
But the Scroll bar is moving to the FCK Editor starting point after the selection of the item.
Please see the below demo to understant the problem clearly.
But Actally the scroll bar should be at the same position where user selects the item.
And Cursor is also missing after the selection.
But the Scroll bar is moving to the FCK Editor starting point after the selection of the item.
Please see the below demo to understant the problem clearly.
Re: scroll bar - scrolling top automatically in fck editor i
2. You say that you lose focus whenever you select something from your custom box. Well this does not happen with FCKeditor dialogs. Perhaps you should copy this behaviour. You could try implementing your toolbox as FCKeditor dialog plugin which pops out when '[[' is entered. Another solution might be perhaps getting the selection before your custom toolbox is opened and then restoring this selection to editor when this dialog is closed.
Re: scroll bar - scrolling top automatically in fck editor i
wht i need is scroll bar should be in the same position after i selects item from a custom selection box.
currently after the selection the scroll bar is going to top position.
can u please brief where we have to modify or add our code to implement your second suggestion given below
"getting the selection before your custom toolbox is opened and then restoring this selection to editor when this dialog is closed."
can u please suggest where we can find dialog box as u described in ur first suggestion and where we have to see for the code
will definitely look into ur suggestion to get the latest version of FCK.will be thankful for your prompt reply..
Re: scroll bar - scrolling top automatically in fck editor i
Re: scroll bar - scrolling top automatically in fck editor i
Thanks for ur reply..As per ur given below suggestion
----------------------------------------------------------------------------------------
Try to work with FCKSelection.GetSelection().
Look for the similar code used in FCKeditor plugins. i am not able to open this given below two sites and iam getting eror msg which i had given below the sites
•Dialog based (new window opens) http://sourceforge.net/forum/forum.php? ... _id=257180.
•Selection based (select then click the button) http://sourceforge.net/forum/message.php?msg_id=3091867
iam getting eror msg as The forum address has changed, you have been automatically redirected. Please update any bookmarks to use the new URL.
Forums are not enabled for this project
------------------------------------------------------------------------------------------------------------------------
i googled this given below site....
http://www.bvbcode.com/code/vq2ozf49-1446624
Can u suggest me is tht site is right one for "getting the selection before your custom toolbox is opened and then restoring this selection to editor when this dialog is closed"
if not please suggest me one gud link for "getting the selection before your custom toolbox is opened and then restoring this selection to editor when this dialog is closed"
Actually my issue is scroll bar should be in the same position after i selects item from a custom selection box.currently after the selection the scroll bar is going to top position.As per your suggestion i followed second suggestion to resolve my issue...
just i want to hold scrollbar position after i selects item from a custom selection box.iam not getting y it is going to top position after the selection an item in custom selection box.
Sory Iam new to this fck editor ...pls help me out