#2862: plugin:maximize porting from v2
-----------------------------------------------+----------------------------
 Reporter:  garry.yao                          |       Owner:  martinkou     
     Type:  New Feature                        |      Status:  new           
 Priority:  Normal                             |   Milestone:  CKEditor 3.0  
Component:  General                            |     Version:  SVN (CKEditor)
 Keywords:  Confirmed Oracle HasPatch Review?  |  
-----------------------------------------------+----------------------------

Comment(by garry.yao):

 Replying to [comment:41 martinkou]:
 > Garry proposed to add clientWidth and clientHeight in 2862_11.patch, but
 that causes another similar bug. The real fix is to use
 CKEDITOR.dom.element::scrollIntoView(). The scrollIntoView()
 implementation we have doesn't handle horizontal scrolls. But it should be
 enough for most cases.
 I would suggest to have both approach implemented for scrolling position,
 the proposed solution assume there's always been a selection on the
 document which is not true, counting clientWidth/clientHeight is about
 resolve this case, which just adding few lines of code.

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2862#comment:42>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to