Hello,
Strange, but I could not reproduce the issue with the functions.php
file where it used to save only the part of the file. The issue with style.css
did not reproduce either. Maybe the issue was due to my mistake because I was working with this plugin for the first time.
Anyways plugin requires further observation.
Thank you for your time and sorry for potentially misleading anyone.