thiagoelg commented on code in PR #2538:
URL:
https://github.com/apache/incubator-kie-tools/pull/2538#discussion_r1725084137
##########
packages/dmn-editor-standalone/src/DmnEditorStandaloneEnvelopeServer.ts:
##########
@@ -41,7 +41,7 @@ export const createEnvelopeServer = (iframe:
HTMLIFrameElement, readOnly?: boole
resourcesPathPrefix: "",
fileExtension: "dmn",
initialLocale: "en-US",
- isReadOnly: readOnly ?? true,
+ isReadOnly: readOnly ?? false,
Review Comment:
The embed editor is still the classic one, so this change won't affect it.
The same goes for the chrome-extension.
But, once the new one becomes the default, we just need to set the readOnly
flag to true when required.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]