angular-ui / ui-tinymce

AngularUI wrapper for TinyMCE
MIT License
488 stars 371 forks source link

Allow custom skins #296

Closed aoakeson closed 7 years ago

aoakeson commented 7 years ago

When creating a custom skin, and referencing it with the skin attribute, I am getting 404s because it thinks it is trying to load it from cloud front, when it is actually loading from the disk. It does load correctly, and place the right skin on, I just receive these errors in the console.

It is trying to load these files, which error out in the console: https://cdnjs.cloudflare.com/ajax/libs/tinymce/4.4.3/skins/material-admin/skin.min.css https://cdnjs.cloudflare.com/ajax/libs/tinymce/4.4.3/skins/material-admin/content.min.css

Here is my configuration code:

$scope.tinymceOptions = {
     inline: false,
     plugins: 'advlist autolink code link image lists charmap preview autoresize spellchecker table',
     toolbar: 'code | fontsizeselect | fontselect',
     skin: 'material-admin',
     theme: 'modern'
    };
deeg commented 7 years ago

Going to close this as it is a support question.

I believe you should be able to use skin_url property. I don't think this would be an issue with angular-ui tinymce, but rather tinymce itself.