Ticket #2653: fck_table.html.patch

File fck_table.html.patch, 704 bytes (added by thiloplanz, 15 years ago)

patch for fck_table.html (rev 2674)

  • editor/dialog/fck_table.html

     
    137137        if ( ! bExists )
    138138                table = oDoc.createElement( "TABLE" ) ;
    139139
     140    oEditor.FCKUndo.SaveUndoStep() ;
     141
     142
    140143        // Removes the Width and Height styles
    141144        if ( bExists && table.style.width )             table.style.width = null ; //.removeAttribute("width") ;
    142145        if ( bExists && table.style.height )    table.style.height = null ; //.removeAttribute("height") ;
     
    302305                        }
    303306                }
    304307
    305                 oEditor.FCKUndo.SaveUndoStep() ;
     308               
    306309
    307310                oEditor.FCK.InsertElement( table ) ;
    308311        }
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy