This is an automated email from the ASF dual-hosted git repository. andytaylor pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/activemq-artemis-console.git
commit d55e295f6da5036a5a84c57a7a57d563c610c5d3 Author: Vilius Ĺ umskas <vilius.sums...@rivile.lt> AuthorDate: Tue Jul 22 10:48:32 2025 +0300 ARTEMIS-5569 Include Monaco editor scripts locally --- .../packages/artemis-console-plugin/src/messages/SendMessage.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/artemis-console-extension/artemis-extension/packages/artemis-console-plugin/src/messages/SendMessage.tsx b/artemis-console-extension/artemis-extension/packages/artemis-console-plugin/src/messages/SendMessage.tsx index 1231581..38e032d 100644 --- a/artemis-console-extension/artemis-extension/packages/artemis-console-plugin/src/messages/SendMessage.tsx +++ b/artemis-console-extension/artemis-extension/packages/artemis-console-plugin/src/messages/SendMessage.tsx @@ -16,6 +16,7 @@ */ import React, { FormEvent, useRef, useState } from 'react' import * as monacoEditor from 'monaco-editor' +import { monacoLoader } from '@monaco-editor/react' import xmlFormat from 'xml-formatter' import { @@ -45,6 +46,8 @@ import { eventService } from '@hawtio/react' import { artemisService } from '../artemis-service' import { Message } from './MessageView' +monacoLoader.config({ monacoEditor }) + type SendBodyMessageProps = { onBodyChange: (body: string) => void body?: string --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@activemq.apache.org For additional commands, e-mail: commits-h...@activemq.apache.org For further information, visit: https://activemq.apache.org/contact