You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When editing a Model object, the rich text editor appears on desktop but not on mobile.
Here is a screenshot:
I checked the console and I noticed this error:
404 NOT FOUND /static/tinymce/themes/mobile/theme.js
I wanted to check locally if that file exists by executing python manage.py collectstatic and noticed that indeed, theme.js doesn't exist. Here are the files I got:
I am assuming the file should be staticfiles\tinymce\themes\mobile\theme.min.js?
The text was updated successfully, but these errors were encountered:
Yes, the error message indicates that there is a missing file (theme.js) in the static/tinymce/themes/mobile/ directory.
To fix this issue, you can try updating the django-tinymce package to the latest version or manually download and place the missing file in the static/tinymce/themes/mobile/ directory.
If you decide to manually download the missing file, you can use this source to get the theme.js file for the mobile theme:
Find and download the version you need (e.g. 5.9.2) and extract the theme.js file from the archive. Place this file in the static/tinymce/themes/mobile/ directory of your Django project.
Once that is done, run python manage.py collectstatic to collect the static files, and the error should be resolved.
When editing a Model object, the rich text editor appears on desktop but not on mobile.
Here is a screenshot:
I checked the console and I noticed this error:
404 NOT FOUND /static/tinymce/themes/mobile/theme.js
I wanted to check locally if that file exists by executing
python manage.py collectstatic
and noticed that indeed,theme.js
doesn't exist. Here are the files I got:I am assuming the file should be
staticfiles\tinymce\themes\mobile\theme.min.js
?The text was updated successfully, but these errors were encountered: