Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
leb2 committed Nov 1, 2024
1 parent 84a4d17 commit c250908
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions example/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ const App = () => {
externalZoomScale: EXTERNAL_ZOOM_SCALE,
}),
);
ketcher.editor.clearHistory();
window.ketcher = ketcher;
window.parent.postMessage(
{
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/ketcher-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ketcher-core",
"version": "2.24.0-rc.1-unc31",
"version": "2.24.0-rc.1-unc32",
"description": "Web-based molecule sketcher",
"license": "Apache-2.0",
"homepage": "http://lifescience.opensource.epam.com/ketcher",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export interface Editor {
clear: () => void;
options: (value?: any) => any;
setOptions: (opts: string) => any;
clearHistory: () => any;
zoom: (value?: any) => any;
structSelected: () => Struct;
explicitSelected: () => EditorSelection;
Expand Down
2 changes: 1 addition & 1 deletion packages/ketcher-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ketcher-react",
"version": "2.24.0-rc.1-unc31",
"version": "2.24.0-rc.1-unc32",
"description": "Web-based molecule sketcher",
"license": "Apache-2.0",
"homepage": "http://lifescience.opensource.epam.com/ketcher",
Expand Down

0 comments on commit c250908

Please sign in to comment.