When editing multiline attributes in the Generic tab, closing the Editor window closes the Properties window as well. This is a bug reported upstream to wxPython: wxWidgets/Phoenix#2715
Workaround: open the Properties window again, and press Save.
This was observed under MacOS, other OS not tested.