Skip to content

Commit 994451c

Browse files
committed
fix(editor): remove editor styles on close
1 parent 554dc10 commit 994451c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

packages/editor/src/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,8 @@ function init() {
155155
if (uiWrapper) {
156156
uiWrapper.destroy();
157157
}
158+
space.style.width = '';
159+
space.style.height = '';
158160
}
159161

160162
trigger.addEventListener('click', async () => {

0 commit comments

Comments
 (0)