|
|
|
@ -368,6 +368,7 @@ const MemoEditor = (props: Props) => {
|
|
|
|
|
<Editor ref={editorRef} {...editorConfig} />
|
|
|
|
|
<div className="relative w-full flex flex-row justify-between items-center pt-2" onFocus={(e) => e.stopPropagation()}>
|
|
|
|
|
<div className="flex flex-row justify-start items-center opacity-80">
|
|
|
|
|
<MarkdownMenu editorRef={editorRef} />
|
|
|
|
|
<TagSelector editorRef={editorRef} />
|
|
|
|
|
<IconButton size="sm" onClick={handleUploadFileBtnClick}>
|
|
|
|
|
<Icon.Image className="w-5 h-5 mx-auto" />
|
|
|
|
@ -375,7 +376,6 @@ const MemoEditor = (props: Props) => {
|
|
|
|
|
<IconButton size="sm" onClick={handleAddMemoRelationBtnClick}>
|
|
|
|
|
<Icon.Link className="w-5 h-5 mx-auto" />
|
|
|
|
|
</IconButton>
|
|
|
|
|
<MarkdownMenu editorRef={editorRef} />
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<ResourceListView resourceList={state.resourceList} setResourceList={handleSetResourceList} />
|
|
|
|
|