html - Enter doesn't always generate a LF -


i have div i've set contenteditable = "true". when enter text div enter @ end of line generate cr not lf. times doesn't generate lf, lf generate automatically if type something. if display else on screen seems drop mode both cr , lf generated enter in editable div. know be?

thanks.


Comments

Popular posts from this blog

ios - Memory not freeing up after popping viewcontroller using ARC -

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -