tinymce / tinymce-angular

Official TinyMCE Angular Component
MIT License
320 stars 92 forks source link

Plugins are not loading! #292

Closed RRakib closed 2 years ago

RRakib commented 2 years ago

None of the plugins are loading after upgrading to @tinymce/tinymce-angular: 6.0.1. It shows failed to load on api request. And it's trying to call for all the plugin in a single request. In older version they used to load one by one.

exalate-issue-sync[bot] commented 2 years ago

Ref: INT-2861

jscasca commented 2 years ago

What kind of setup do you have?

xprojects-de commented 2 years ago

Hello, same here using Angular 14 (see errorImage).

package.json dependencies:

{
    "@angular/animations": "^14.0.3",
    "@angular/cdk": "^14.0.3",
    "@angular/common": "^14.0.3",
    "@angular/compiler": "^14.0.3",
    "@angular/core": "^14.0.3",
    "@angular/elements": "^14.0.3",
    "@angular/forms": "^14.0.3",
    "@angular/material": "^14.0.3",
    "@angular/platform-browser": "^14.0.3",
    "@angular/platform-browser-dynamic": "^14.0.3",
    "@angular/router": "^14.0.3",
    "@ngrx/effects": "^14.0.0",
    "@ngrx/entity": "^14.0.0",
    "@ngrx/store": "^14.0.0",
    "@ngrx/store-devtools": "^14.0.0",
    "@tinymce/tinymce-angular": "^6.0.1",
    "chart.js": "^3.8.0",
    "ng-gallery": "^7.0.0",
    "ng2-charts": "^3.0.11",
    "ngx-mat-select-search": "^4.2.0",
    "rxjs": "~7.5.5",
    "tinymce": "^6.0.3",
    "tslib": "^2.4.0",
    "zone.js": "~0.11.6"
  }

Also uising tinyClous with API-Key and not selfHosted!

Bildschirmfoto 2022-06-23 um 21 43 48

inifConfig:

{
        height: 500,
        menubar: false,
        plugins: [
            'advlist autolink lists link image charmap print preview anchor',
            'searchreplace visualblocks code fullscreen',
            'insertdatetime media table paste code help wordcount'
        ],
        toolbar: 'undo redo | formatselect | bold italic underline strikethrough link | alignleft aligncenter alignright alignjustify | table | bullist numlist checklist outdent indent | removeformat | fullscreen | code',
        content_style: 'body { Roboto, "Helvetica Neue", sans-serif; }'
    }
xprojects-de commented 2 years ago

ah sorry. i did a mistake. it´s working. Since 6.x the plugins are seperated by , not by whitespace!! Thanks