integreat-cms
integreat-cms copied to clipboard
Fix info message after saving page content twice
Short description
This pull request addresses the issue of Tinymce adding whitespace to the content by setting indent: false in the Tinymce configuration. Currently, the added whitespace by Tinymce causes our backend to incorrectly determine whether the content has been edited or not. This is evident when saving a newly created page for the second time, as it erroneously indicates that changes have been saved even when there are none.
Further Explanation: https://stackoverflow.com/a/39489073 Demonstration: https://github.com/digitalfabrik/integreat-cms/assets/13850172/e40e868e-87a5-4972-818d-378c8014aae5
Proposed changes
- Set indent: false in the Tinymce configuration to prevent the addition of whitespace to the content.
Resolved issues
Fixes: #2673