mirror of https://github.com/fantasticit/think.git
client: disable image-viewer when editing
This commit is contained in:
parent
68c2f8ecc5
commit
0e66e9663a
|
@ -198,7 +198,7 @@ export const EditorInstance = forwardRef((props: IProps, ref) => {
|
|||
<Tocs editor={editor} getContainer={getTocsContainer} />
|
||||
</div>
|
||||
{protals}
|
||||
<ImageViewer container={$mainContainer.current} />
|
||||
{!editable && <ImageViewer container={$mainContainer.current} />}
|
||||
</main>
|
||||
<BackTop
|
||||
target={() => $mainContainer.current}
|
||||
|
|
Loading…
Reference in New Issue