blob: ce0fd3f6ff8cf3a965ca87e26c4b550e253c6ab7 (
plain)
1
2
3
4
5
6
7
8
9
|
/* global ace */
export default () => {
const editor = ace.edit('editor');
$('.snippet-form-holder form').on('submit', () => {
$('.snippet-file-content').val(editor.getValue());
});
};
|