hunk.code_window:     setStateValue(value);
     }, []);
     useEffect(() => {
       setValue(props.defaultValue);
       setIsEditing(!!props.isEditingDefault);
     }, [props.defaultValue, props.isEditingDefault, setValue]);
  
hunk.labels: keep keep keep keep add keep keep keep
hunk.after_edit:   }, [props.defaultValue]);
     useEffect(() => {
  
hunk.file_path: app/client/src/components/editorComponents/EditableText.tsx
hunk.type: add
file: const commonlocators = require("../../../../locators/commonlocators.json");
  const dsl = require("../../../../fixtures/CanvasResizeDsl.json");
  
  describe("Canvas Resize", function() {
    before(() => {
      cy.addDsl(dsl);
    });
    it("Deleting bottom widget should resize canvas", function() {
      const InitHeight = "2960px";
      const FinalHeight = "1292px";
      cy.get(commonlocators.dropTarget).should("have.css", "height", InitHeight);
      cy.openPropertyPane("textwidget");
      cy.get(commonlocators.deleteWidget).click();
      cy.get(commonlocators.dropTarget).should("have.css", "height", FinalHeight);
    });
  });
  