Revision 32da02c5
Added by Oleh Fedorenko over 2 years ago
webpack/assets/javascripts/react_app/components/Editor/components/EditorModal.js | ||
---|---|---|
selectedView,
|
||
template,
|
||
theme,
|
||
autocompletion,
|
||
liveAutocompletion,
|
||
title,
|
||
toggleModal,
|
||
}) => (
|
||
... | ... | |
readOnly={readOnly || selectedView === 'preview'}
|
||
className="editor ace_editor_modal"
|
||
isMasked={isMasked}
|
||
autocompletion={autocompletion}
|
||
liveAutocompletion={liveAutocompletion}
|
||
/>
|
||
)}
|
||
</Modal.Body>
|
||
... | ... | |
selectedView: PropTypes.string.isRequired,
|
||
template: PropTypes.string.isRequired,
|
||
theme: PropTypes.string.isRequired,
|
||
autocompletion: PropTypes.bool.isRequired,
|
||
liveAutocompletion: PropTypes.bool.isRequired,
|
||
title: PropTypes.string,
|
||
toggleModal: PropTypes.func.isRequired,
|
||
};
|
Also available in: Unified diff
Revert "Fixes #32035 - Add DSL autocompletion in templates"
This reverts commit bde7047acb8a68a899f60585f751093c9713bb92.