#2751: Write fake object display and replacement logic for CKEditor v3
------------------------+---------------------------------------------------
  Reporter:  martinkou  |       Owner:  martinkou   
      Type:  Task       |      Status:  reopened    
  Priority:  High       |   Milestone:  CKEditor 3.0
 Component:  General    |     Version:              
Resolution:             |    Keywords:  Confirmed   
------------------------+---------------------------------------------------

Comment(by arczi):

 How to find fake objects in selection?
 Do I need to find IMG tag when I want to edit OBJECT or it will be done by
 API?
 {{{
 var element = rangeRoot.getAscendant( 'img', true );
 if ( element && element.someAttribute( '_cke_fakeobject' ) &&
 element.someAttribute( 'object' ))  //something like that
 {

         element = restoreElement(element );
         load(element )
 }
 }}}

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/2751#comment:4>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
------------------------------------------------------------------------------
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to