-
Notifications
You must be signed in to change notification settings - Fork 67
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
Auto-remove erroneous formatting for abstracts in metadata #1481
Comments
Clean paste available in new version of Django Summernote. |
Provisionally added to 1.4.3 as a reminder to take care of the Summernote formatting issues that are a persistent frustration for many users |
Another option for this one: Bleach Field. It can be used with summernote. |
Sadly, this issue will need to wait until 1.5 as bleach, which I think is the best solution for this, doesn't work on django 1.11. |
It will be important to retain italicization by default so that titles of works retain italics. |
Using bleach will allow us to flexibly determine which elements are and which aren't allowed. They can bet set at the global level and then tweaked for individual fields that require different elements. |
closed by #3983 |
Describe the bug
At present, even when using plain text editors to paste metadata into the abstract field, this leaves a lot of invisible code junk which messes up the formatting, meaning that it needs to be fixed by going into the code manually. This is particularly time consuming across an issue, at which this needs to be fixed individually for several articles.
Expected behavior
An auto-formatter would be good that strips out all surplus / weird formatting would be great as it would save a lot of time doing these individually.
Thanks for your help
The text was updated successfully, but these errors were encountered: