-
Notifications
You must be signed in to change notification settings - Fork 80
Replace CKEditor by TinyMCE in Pod V4 #1227
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
Conversation
* Upgrade securtity dependances * Remove deprecated django-tagging * Add new django-tagulous * Elasticsearch default version is Now 8 (remove compatibility with ES 6) * Replace deprecated ugettext_lazy by gettext_lazy * Add some temporary deprecations Hacks for cas-client & Chunked-upload * Replace deprecated url() by re_path() * Disable all Pods apps by default * Correct error handling for ElasticSearch
# Conflicts: # pod/settings.py
* Replace some re_path() by path()
* Replace remaining ugettext by gettext
* Replace admin.site.register() call by @admin.register decorator
* Replace HTTP_X_REQUESTED_WITH by `headers={"x-requested-with"`
* Replace request.META by headers
* Replace `assertQuerysetEqual` by `assertQuerySetEqual`
* Replace force_text by force_str
* Remove default_app_config in __init__.py
…select2 CSS calls) * Correct Enrichment form validation process
* Replace Django 3.2 by 4.2 in all links
# Conflicts: # pod/settings.py
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…ionalError: database table is locked"
# Conflicts: # requirements.txt
…bug preventing not encoded video to be edited)
Correct CVE-2024-56374: Potential denial-of-service vulnerability in IPv6 validation
# Conflicts: # .env.dev-exemple # dockerfile-dev-with-volumes/README.adoc # pod/main/test_settings.py # pod/video/models.py # pod/video/utils.py # requirements.txt
# Conflicts: # requirements.txt
LoicBonavent
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sur le coup, je ne l'ai pas testé, mais cela me semble nickel !
J'ai vu que la problématique de mise à jour d'un champ textarea est géré (de souvenir, c'était le seul point tricky avec CKEditor), donc GJ :)
# Conflicts: # .github/workflows/pod_dev.yml # pod/urls.py # pod/video/admin.py # pod/video/models.py # requirements.txt
gcondess
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Je ne maitrise pas trop tout ce qui est fait dans "pod/main/static/js/main.js" (mais je fait confiance à Olivier;)
Sinon j'ai installée la PR localement pour tester le plugin sur les pages d'édition des vidéo et d'administration des chaines sans rencontrer de problème. La mise en forme et l'enregistrement fonctionne bien
En plus je trouve que cette implémentation de Tiny est moins envahissante de celle de CKEditor (ou il y avait beaucoup trop de boutons à mon gout :)
pod/main/static/js/main.js
Outdated
| * @param {[type]} elem [description] | ||
| * Hide element whith fade effect | ||
| * @param {HTMLElement} elem Dom element to hide | ||
| * @param {[type]} speed [description] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As seen in django-ckeditor latest version:
... So this PR try to replace it by TinyMCE