Skip to content

Commit

Permalink
feat(facade): add comment & rich-text & data-validation & edit API (#…
Browse files Browse the repository at this point in the history
…4423)

Co-authored-by: Wenzhao Hu <[email protected]>
Co-authored-by: jocs <[email protected]>
  • Loading branch information
3 people authored Jan 7, 2025
1 parent bf69eab commit cff224f
Show file tree
Hide file tree
Showing 59 changed files with 5,994 additions and 257 deletions.
1 change: 1 addition & 0 deletions examples/src/sheets/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ import '@univerjs/sheets-thread-comment/facade';
import '@univerjs/sheets-conditional-formatting/facade';
import '@univerjs/sheets-find-replace/facade';
import '@univerjs/sheets-drawing-ui/facade';
import '@univerjs/sheets-zen-editor/facade';
import '../global.css';

/* eslint-disable-next-line node/prefer-global/process */
Expand Down
7 changes: 7 additions & 0 deletions packages/core/src/common/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,10 @@ export class CustomCommandExecutionError extends Error {
this.name = 'CustomCommandExecutionError';
}
}

export class CanceledError extends Error {
constructor() {
super('Canceled by facade');
this.name = 'CanceledError';
}
}
Loading

0 comments on commit cff224f

Please sign in to comment.