0004827: WYSIWYG editor cannot save empty texts (cherry picked from commit c1a666a)