This commit is contained in:
burnettk 2022-11-10 14:32:39 -05:00
parent b6a3c89bd4
commit 701f9dcef9
1 changed files with 7 additions and 4 deletions

View File

@ -641,12 +641,17 @@ export default function ProcessModelEditDiagram() {
return (
<Modal
open={showMarkdownEditor}
modalHeading={`Edit Markdown`}
modalHeading="Edit Markdown"
primaryButtonText="Close"
onRequestSubmit={handleMarkdownEditorClose}
size="lg"
>
<MDEditor height={500} highlightEnable={false} value={markdownText} onChange={setMarkdownText} />
<MDEditor
height={500}
highlightEnable={false}
value={markdownText}
onChange={setMarkdownText}
/>
</Modal>
);
};
@ -676,8 +681,6 @@ export default function ProcessModelEditDiagram() {
* @param processId
*/
const onLaunchBpmnEditor = (processId: string) => {
const file = findFileNameForReferenceId(processId, 'bpmn');
if (file) {