Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove sourceMappingURL lines from tinymce static files #461

Merged
merged 4 commits into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions tests/test_static_files.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
import tempfile

from django.core.management import call_command
from django.test import SimpleTestCase


class TestStaticFiles(SimpleTestCase):

def test_manifest_static_files_storage(self):
"""
Test that TinyMCE's static files can be collected
when using ManifestStaticFilesStorage - missing
.map files can cause this to fail if the static
files refer to them (GH issue #460)
"""
with tempfile.TemporaryDirectory() as temp_dir:
with self.settings(
STATIC_ROOT=temp_dir,
STATICFILES_STORAGE="django.contrib.staticfiles.storage.ManifestStaticFilesStorage",
):
result = call_command("collectstatic", "--no-input")
self.assertRegex(result, r"\d+ static files copied")
2 changes: 1 addition & 1 deletion tinymce/static/tinymce/skins/content/dark/content.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tinymce/static/tinymce/skins/content/default/content.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tinymce/static/tinymce/skins/content/document/content.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tinymce/static/tinymce/skins/content/tinymce-5/content.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tinymce/static/tinymce/skins/content/writer/content.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tinymce/static/tinymce/skins/ui/oxide-dark/content.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tinymce/static/tinymce/skins/ui/oxide-dark/skin.js

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tinymce/static/tinymce/skins/ui/oxide/content.inline.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tinymce/static/tinymce/skins/ui/oxide/content.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tinymce/static/tinymce/skins/ui/oxide/skin.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tinymce/static/tinymce/skins/ui/oxide/skin.shadowdom.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tinymce/static/tinymce/skins/ui/tinymce-5-dark/content.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tinymce/static/tinymce/skins/ui/tinymce-5-dark/skin.js

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tinymce/static/tinymce/skins/ui/tinymce-5/content.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tinymce/static/tinymce/skins/ui/tinymce-5/skin.js

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading