-
Notifications
You must be signed in to change notification settings - Fork 185
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
Feature/issue 648 unable to unlink #649
Conversation
fix flake8 complains fix 1 failing unit test
* fix django 2.2 tests * Update dj22_cms37.txt * Update dj22_cms38.txt * Update dj22_cms40.txt * Update dj31_cms38.txt * Update settings.py * Update frontend.yml * Enable frontend tests
…om/django-cms/djangocms-text-ckeditor into feature/issue-648-unable-to-unlink
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #649 +/- ##
==========================================
- Coverage 76.18% 76.15% -0.03%
==========================================
Files 20 20
Lines 932 931 -1
Branches 124 124
==========================================
- Hits 710 709 -1
Misses 196 196
Partials 26 26
☔ View full report in Codecov by Sentry. |
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.
@jrief Can you add a note in the docs and refer to an example on how to use that feature?
This change can be used to reset the context of a plugin to its initial state. It works by evaluating the response code of a submitted plugin. If that is 204 – No Content, that initial text is restored and the plugin is removed. This allows authors of plugins to disconnect them using the already existing plugin editor.
I use it to unlink texts, but many other use cases then are possible as well.