thomas-institut / apm

Digital Edition web application for the Averroes Project
GNU General Public License v3.0
2 stars 0 forks source link

Editor erasing last line on save #20

Closed rafaelnajera closed 7 years ago

rafaelnajera commented 7 years ago

It seems to occur only in Hebrew. The last line in the editor is not saved. This seems to be a problem with new line reporting in Quill

rafaelnajera commented 7 years ago

When changing default languages quill's delta might include double newlines as inserts, or "\nsometext\n" version 0.5.2. takes care of double newlines. I still don't know how to exactly reproduce the second case in development.

rafaelnajera commented 7 years ago

Version 0.5.3 now handles default language properly and this seems to prevent the issue to arise. Need to see whether it comes back again.

rafaelnajera commented 7 years ago

This is fixed with proper handling of new lines