| 1234567891011121314151617181920 |
- import {Transform} from "./transform";
- import $ from "jquery";
-
- export class RemoveTableStylesTransform extends Transform {
- constructor(param){
- super(param);
- this.object = param.object;
- this.class = this.object.attributes.class.value;
- }
-
- execute(){
- $(this.object).removeClass();
- //$(this.object).removeAttr( 'style' );
- }
-
- rolback(){
- $(this.object).addClass(this.class);
- //$(this.object).addAttr( 'style' );
- }
- }
|