This commit is contained in:
burnettk 2022-11-10 14:32:39 -05:00
parent 5c702225e1
commit db820623a1
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) {