From 404288ae86ebfcf3de36d47469b3b12a04488602 Mon Sep 17 00:00:00 2001 From: maxiaobo01 Date: Thu, 25 Aug 2022 17:45:31 +0800 Subject: [PATCH] fix: prettier save not sync --- demo/app.tsx | 38 ++++++++++++++++++++------------------ src/multi/Editor.tsx | 2 +- 2 files changed, 21 insertions(+), 19 deletions(-) diff --git a/demo/app.tsx b/demo/app.tsx index c7fa156..6972728 100644 --- a/demo/app.tsx +++ b/demo/app.tsx @@ -131,8 +131,8 @@ const App = () => { line: 40, column: 1, } - })) }>getAllValue - {/*
send postmessage
*/} + })) }>refresh +
{ console.log(editorRef.current.getAllValue()); }}>real getAllvalue
setColors(themes['OneDarkPro'].colors)}>refresh theme color