Why didn't TinyMCE find the silver theme?

Discussão em 'Angular' iniciado por Alexander Knight Room, Março 7, 2025.

  1. Some context. I'm using tinymce-5.8.1 and tinymce-angular-3.6.1

    This is part of my angular.json file

    "architect": {
    "build": {
    "builder": "@angular-devkit/build-angular:browser",
    "options": {
    "outputPath": "dist/myapp-dashboard",
    "index": "src/index.html",
    "main": "src/main.ts",
    "polyfills": "src/polyfills.ts",
    "preserveSymlinks": true,
    "tsConfig": "src/tsconfig.app.json",
    "assets": [
    { "glob": "**/*", "input": "node_modules/tinymce", "output": "/tinymce/" },
    "src/favicon.ico",
    "src/assets"
    ],
    "styles": [
    "src/styles.scss"
    ],
    "scripts": [
    "node_modules/tinymce/tinymce.min.js"
    ],
    "es5BrowserSupport": true
    },


    TinyMCE cannot find the silver theme, and I believe that that is the reason why it doesn't show in my app (it even ocupy space, but it is completely invisible and unusable)

    [​IMG]

    My suspicion is that my configuration is wrongly copying the files to a folder that tinymce cannot find, or tinymce is looking to the wrong place.

    My questions are:


    1. How can I know where tinymce is looking when it says http://localhost:4200/themes/silver/theme.js?


    2. How can I know to which folder the "output": "/tinymce/" bit is referring?

    Continue reading...

Compartilhe esta Página