The following package creates a new input type for Aldeed's meteor-autoform package using the TinyMCE WYSIWYG text editor.
meteor add skehoe1989:autoform-tinymce
Add the 'tinyMCE' input type to the autoform property in your collection's SimpleSchema:
BlogPosts = new SimpleSchema({
title: {
type: String,
max: 100
},
content: {
type: String,
autoform: {
afFieldInput: {
type: 'tinyMCE',
data: {
/**
* tinyMCE initialization options
* "skin_url" is not customizable for now*
* See https://www.tinymce.com/docs/configure/editor-appearance/
*/
height: 300,
statusbar: false,
menubar: false
...
...
}
}
}
}
});
Maintained by BitTiger