mpowaga / meteor-autoform-summernote

https://atmospherejs.com/mpowaga/autoform-summernote
25 stars 18 forks source link

TypeError: $node.attr(...).tooltip is not a function #23

Open heaven7 opened 8 years ago

heaven7 commented 8 years ago

Hi,

i got this error with this setup

Books = new Meteor.Collection('Books')

var BookSchema = new SimpleSchema({
  title: {
    type: String,
    label: "Title",
    max: 200
  },
  content: {
    type: String,
    label: "Yet another poem",
    autoform: {
      afFieldInput: {
        type: 'summernote',
        class: 'editor', // optional
        settings: {
          height: 200
        }
      }
    }
  }
});
Books.attachSchema(BookSchema)

template

<body>
  {{#autoForm id="booksform" collection="Books" type="insert"}}
    {{> afQuickField name='title'}}
    {{> afQuickField name='content'}}
  {{/autoForm}}
</body>

packages

aldeed:autoform
aldeed:collection2
aldeed:simple-schema
mpowaga:autoform-summernote
fortawesome:fontawesome

How to fix this?

kukagg commented 8 years ago

https://github.com/summernote/summernote/issues/921