Skip to content

Commit

Permalink
Merge main to develop
Browse files Browse the repository at this point in the history
  • Loading branch information
bpmn-io-bot committed Mar 27, 2024
2 parents 9c53cb2 + 8bf898a commit 23a415e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/form-js-playground/src/components/JSONEditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ export function JSONEditor(options = {}) {
autocompletionExtension(),
keymap.of([ indentWithTab ]),
editorPlaceholder ? placeholder(editorPlaceholder) : [],
EditorState.readOnly.of(readonly),
EditorView.updateListener.of(update => {
if (update.docChanged) {
emitter.emit('changed', { value: update.state.doc.toString() });
}
}),
EditorView.editable.of(!readonly),
EditorView.contentAttributes.of(contentAttributes)
];

Expand Down

0 comments on commit 23a415e

Please sign in to comment.