CMS Development

DavidFJones
Member | Platinum Partner
Member | Platinum Partner

Tiny MCE theme.min.js files forbidden from cli upload

SOLVE

Hey everyone,

I'm developing a theme that requires some wysiwyg editors on screen for the user and was wanting to use Tiny MCE. I have attempted to use the upload command to upload my folder for version 5.4.2 but two of the files will not upload.

These are:

tinymce\js\tinymce\themes\mobile\theme.min.js

tinymce\js\tinymce\themes\silver\theme.min.js

Both of these files throw the following error in my terminal

 

 

 

Unable to upload "js\lib\tinymce\js\tinymce\themes\silver\theme.min.js". The post to "/js/tinymce/themes/silver/theme.min.js" in portal xxxxxxx was forbidden.

 

 


When I ran the upload command everything else within the tinymce folder uploaded and is now accessible from within the theme folder.

0 Upvotes
1 Accepted solution
tjoyce
Solution
Recognized Expert | Elite Partner
Recognized Expert | Elite Partner

Tiny MCE theme.min.js files forbidden from cli upload

SOLVE

@DavidFJones - just as a test could you do the following

1. remove ".min" from the filename and try uploading

2. remove the content of one of the files and replace it with a simple console.log statement and see if you can successfully upload?

 

This will just help us narrow down the reason for the error

View solution in original post

0 Upvotes
2 Replies 2
tjoyce
Solution
Recognized Expert | Elite Partner
Recognized Expert | Elite Partner

Tiny MCE theme.min.js files forbidden from cli upload

SOLVE

@DavidFJones - just as a test could you do the following

1. remove ".min" from the filename and try uploading

2. remove the content of one of the files and replace it with a simple console.log statement and see if you can successfully upload?

 

This will just help us narrow down the reason for the error

0 Upvotes
natsumimori
Community Manager
Community Manager

Tiny MCE theme.min.js files forbidden from cli upload

SOLVE

I will tag in @tjoyce and @stefen here.

Could you share your knowlede for @DavidFJones ?

0 Upvotes