A text editor for autoform using CodeMirror
Add a custom template in your Schema
Schemas.myCode = new SimpleSchema({
title: {
type: String
},
functionText: {
type: String,
autoform: {
type: 'code',
extensions: {
//add any custom settings here
}
}
}
});