Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 376 Bytes

README.md

File metadata and controls

27 lines (22 loc) · 376 Bytes

autoform-codemirror

A text editor for autoform using CodeMirror

Usage

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
                }
    }
  }
});