Update TinyMCE and TinyMCE angular

Updates TinyMCE and TinyMCE angular to the latest version
This commit is contained in:
Sean 2020-08-13 12:27:14 +02:00
parent 2b3766b758
commit b59c69e086
3 changed files with 9 additions and 15 deletions

View File

@ -28,18 +28,8 @@
"src/manifest.json", "src/manifest.json",
{ {
"glob": "**/*", "glob": "**/*",
"input": "node_modules/tinymce/skins", "input": "node_modules/tinymce",
"output": "/tinymce/skins/" "output": "/tinymce/"
},
{
"glob": "**/*",
"input": "node_modules/tinymce/themes",
"output": "/tinymce/themes/"
},
{
"glob": "**/*",
"input": "node_modules/tinymce/plugins",
"output": "/tinymce/plugins/"
} }
], ],
"styles": ["src/styles.scss"], "styles": ["src/styles.scss"],

View File

@ -51,7 +51,7 @@
"@pebula/ngrid": "2.0.0-rc.1", "@pebula/ngrid": "2.0.0-rc.1",
"@pebula/ngrid-material": "2.0.0-rc.1", "@pebula/ngrid-material": "2.0.0-rc.1",
"@pebula/utils": "1.0.2", "@pebula/utils": "1.0.2",
"@tinymce/tinymce-angular": "^3.6.0", "@tinymce/tinymce-angular": "^4.1.0",
"@videojs/http-streaming": "^1.13.3", "@videojs/http-streaming": "^1.13.3",
"acorn": "^7.1.0", "acorn": "^7.1.0",
"chart.js": "^2.9.2", "chart.js": "^2.9.2",
@ -73,7 +73,7 @@
"pdfmake": "^0.1.63", "pdfmake": "^0.1.63",
"po2json": "^1.0.0-beta-2", "po2json": "^1.0.0-beta-2",
"rxjs": "^6.5.4", "rxjs": "^6.5.4",
"tinymce": "5.2.2", "tinymce": "5.4.1",
"tslib": "^1.10.0", "tslib": "^1.10.0",
"video.js": "^7.7.6", "video.js": "^7.7.6",
"zone.js": "~0.10.2" "zone.js": "~0.10.2"

View File

@ -50,7 +50,7 @@ import { TranslateModule, TranslateService } from '@ngx-translate/core';
import { NgxFileDropModule } from 'ngx-file-drop'; import { NgxFileDropModule } from 'ngx-file-drop';
// TinyMCE // TinyMCE
import { EditorModule } from '@tinymce/tinymce-angular'; import { EditorModule, TINYMCE_SCRIPT_SRC } from '@tinymce/tinymce-angular';
// directives // directives
import { PermsDirective } from './directives/perms.directive'; import { PermsDirective } from './directives/perms.directive';
@ -369,6 +369,10 @@ import { LiveStreamComponent } from './components/live-stream/live-stream.compon
useClass: OpenSlidesDateAdapter, useClass: OpenSlidesDateAdapter,
deps: [TranslateService, MAT_DATE_LOCALE, MAT_MOMENT_DATE_ADAPTER_OPTIONS] deps: [TranslateService, MAT_DATE_LOCALE, MAT_MOMENT_DATE_ADAPTER_OPTIONS]
}, // see remarks in OpenSlidesDateAdapter }, // see remarks in OpenSlidesDateAdapter
{
provide: TINYMCE_SCRIPT_SRC,
useValue: 'tinymce/tinymce.min.js'
},
SearchValueSelectorComponent, SearchValueSelectorComponent,
SortingListComponent, SortingListComponent,
SortingTreeComponent, SortingTreeComponent,