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} />
|
<Tocs editor={editor} getContainer={getTocsContainer} />
|
||||||
</div>
|
</div>
|
||||||
{protals}
|
{protals}
|
||||||
<ImageViewer container={$mainContainer.current} />
|
{!editable && <ImageViewer container={$mainContainer.current} />}
|
||||||
</main>
|
</main>
|
||||||
<BackTop
|
<BackTop
|
||||||
target={() => $mainContainer.current}
|
target={() => $mainContainer.current}
|
||||||
|
|
Loading…
Reference in New Issue