From 30ad6020bd10e99fc1f77257270892dac1e626b9 Mon Sep 17 00:00:00 2001 From: Mutasem Date: Tue, 19 Oct 2021 11:24:36 +0200 Subject: [PATCH] add pushing nodes length --- packages/editor-ui/src/views/NodeView.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/editor-ui/src/views/NodeView.vue b/packages/editor-ui/src/views/NodeView.vue index 634096c8a4..57fa86e936 100644 --- a/packages/editor-ui/src/views/NodeView.vue +++ b/packages/editor-ui/src/views/NodeView.vue @@ -213,10 +213,10 @@ if (!window.localStorage.getItem('ALWAYS_RESPECT_STUB')) { const _ALWAYS_RESPECT_STUB = window.localStorage.getItem('ALWAYS_RESPECT_STUB') === 'true'; if (!window.localStorage.getItem('PUSH_NODES_LENGTH')) { - window.localStorage.setItem('PUSH_NODES_LENGTH', 'false'); + window.localStorage.setItem('PUSH_NODES_LENGTH', '200'); } // @ts-ignore -const _PUSH_NODES_LENGTH = parseInt(window.localStorage.getItem('PUSH_NODES_LENGTH'), 200); +const _PUSH_NODES_LENGTH = parseInt(window.localStorage.getItem('PUSH_NODES_LENGTH'), 10); export default mixins( copyPaste,