Skip to content Skip to sidebar Skip to footer

Interface Disappears When Tinymce Is Added To Module

So I'm working on an Angular-fullstack project where I'm trying to add ui-TinyMCE to my project. However when I change angular.module('academiaUnitateApp') .controller('NewEntryC

Solution 1:

['ui-tinymce'] should be ['ui.tinymce']

also I think you are adding ui.tinymce to the wrong place. It seems like you are recreating the module rather than retrieving. See https://docs.angularjs.org/guide/module#creation-versus-retrieval.

For angular fullstack, your /client/app/app.js has:

angular.module('demoApp', [
  'ngCookies',
  'ngResource',
  'ngSanitize',
  'btford.socket-io',
  'ui.router',
  'ui.bootstrap'
])

You should be adding ui.tinymce here.

angular.module('demoApp', [
  'ngCookies',
  'ngResource',
  'ngSanitize',
  'btford.socket-io',
  'ui.router',
  'ui.bootstrap',
  'ui.tinymce'
])

Post a Comment for "Interface Disappears When Tinymce Is Added To Module"