mirror of
https://github.com/Kong/insomnia
synced 2024-11-08 06:39:48 +00:00
key markdown editors (#7644)
This commit is contained in:
parent
a4de53443f
commit
b41826e881
@ -96,6 +96,7 @@ export const WorkspaceSettingsModal = ({ workspace, mockServer, onClose }: Props
|
|||||||
Description
|
Description
|
||||||
</Label>
|
</Label>
|
||||||
<MarkdownEditor
|
<MarkdownEditor
|
||||||
|
key={workspace._id}
|
||||||
placeholder="Write a description"
|
placeholder="Write a description"
|
||||||
defaultValue={workspace.description}
|
defaultValue={workspace.description}
|
||||||
onChange={(description: string) => {
|
onChange={(description: string) => {
|
||||||
|
@ -188,6 +188,7 @@ export const RequestGroupPane: FC<{ settings: Settings }> = ({ settings }) => {
|
|||||||
</TabPanel>
|
</TabPanel>
|
||||||
<TabPanel className='w-full flex-1 overflow-y-auto' id='docs'>
|
<TabPanel className='w-full flex-1 overflow-y-auto' id='docs'>
|
||||||
<MarkdownEditor
|
<MarkdownEditor
|
||||||
|
key={uniqueKey}
|
||||||
className="margin-top"
|
className="margin-top"
|
||||||
placeholder="Write a description"
|
placeholder="Write a description"
|
||||||
defaultValue={activeRequestGroup.description}
|
defaultValue={activeRequestGroup.description}
|
||||||
|
@ -365,6 +365,7 @@ export const RequestPane: FC<Props> = ({
|
|||||||
</TabPanel>
|
</TabPanel>
|
||||||
<TabPanel className='w-full flex-1 overflow-y-auto' id='docs'>
|
<TabPanel className='w-full flex-1 overflow-y-auto' id='docs'>
|
||||||
<MarkdownEditor
|
<MarkdownEditor
|
||||||
|
key={uniqueKey}
|
||||||
placeholder="Write a description"
|
placeholder="Write a description"
|
||||||
defaultValue={activeRequest.description}
|
defaultValue={activeRequest.description}
|
||||||
onChange={(description: string) => patchRequest(requestId, { description })}
|
onChange={(description: string) => patchRequest(requestId, { description })}
|
||||||
|
@ -474,6 +474,7 @@ export const WebSocketRequestPane: FC<Props> = ({ environment }) => {
|
|||||||
</TabPanel>
|
</TabPanel>
|
||||||
<TabPanel className='w-full flex-1 overflow-y-auto' id='docs'>
|
<TabPanel className='w-full flex-1 overflow-y-auto' id='docs'>
|
||||||
<MarkdownEditor
|
<MarkdownEditor
|
||||||
|
key={uniqueKey}
|
||||||
placeholder="Write a description"
|
placeholder="Write a description"
|
||||||
defaultValue={activeRequest.description}
|
defaultValue={activeRequest.description}
|
||||||
onChange={(description: string) => patchRequest(requestId, { description })}
|
onChange={(description: string) => patchRequest(requestId, { description })}
|
||||||
|
Loading…
Reference in New Issue
Block a user