This commit is contained in:
burnettk 2022-11-10 14:32:39 -05:00
parent 5c702225e1
commit db820623a1

View File

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