Minifying ExtJS and Tinymce

你。 提交于 2019-12-11 21:14:40

问题


I am using the TinyMCE plugin. When I try to build a production app with Sencha CMD, I am getting this error:

com.sencha.exceptions.ExNotFound: Unknown definition for dependency : tinyMCE.WindowManager

Does anyone know how to minify this?


回答1:


found here a solution https://sencha-webstack1-1540763642.us-east-1.elb.amazonaws.com/forum/showthread.php?275091-Error-executing-sencha-app-refresh&p=1008593&viewfull=1

So for me works this: just put next lines into TinyMCETextArea.js

// @define tinymce.WindowManager
// @require ./tinymce/tiny_mce_src.js

Ext.define('Ext.ux.form.TinyMCETextAreaWindowManager', {
    extend: 'tinymce.WindowManager',


来源:https://stackoverflow.com/questions/18465310/minifying-extjs-and-tinymce

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!