0

我正在尝试将 TinyMCE 5 集成到我的 Angular 7 项目中。它在stackblitz上运行良好。这是链接: TinyMCE 5 with Angular 7

请注意,在 slackblitz 上会出现以下警告:

This domain is not registered with Tiny Cloud. Start a free trial to discover our premium cloud services and pro support.

我已经从 slackblitz 下载了项目并安装了软件包。但是在本地运行项目后,出现此错误:

GET http://localhost:4200/themes/silver/theme.js net::ERR_ABORTED 404 (Not Found)
4

1 回答 1

1

添加这两个选项后,该问题已得到解决:

this.tinymceInit = {
      base_url: '/tinymce',
      suffix: '.min',
...
}
于 2019-12-27T16:08:26.383 回答