bootstrap-wysiwyg / bootstrap3-wysiwyg

Simple, beautiful wysiwyg editor
http://bootstrap-wysiwyg.github.io/bootstrap3-wysiwyg/
MIT License
834 stars 264 forks source link

Line breaks always put the cursor back on first line. #101

Open joshua-schnabel opened 10 years ago

joshua-schnabel commented 10 years ago

Issue by Warface Monday Jun 30, 2014 at 15:36 GMT Originally opened as https://github.com/schnawel007/bootstrap3-wysihtml5/issues/23


When I hit "Return" on the keyboard, the
is created but the cursor don't change line. It stays on the first one I was when I hit "Return".

Using Chrome on Win 8.

joshua-schnabel commented 10 years ago

Comment by steph643 Friday Aug 01, 2014 at 09:05 GMT


Same for me on Chrome/Win 7: when hitting Enter on a blank line, a new line is created but the cursor stays on the original line.

joshua-schnabel commented 10 years ago

Comment by andrewkouri Thursday Sep 25, 2014 at 23:34 GMT


This is a highly undesirable behavior. What can we do to fix this? I've been looking through the js and cannot find anywhere that it is looking for the enter key to fix the scrolling to the top. It does actually insert the new lines, but it bumps the cursor up a line every time you do that.

joshua-schnabel commented 10 years ago

Comment by Waxolunist Friday Sep 26, 2014 at 05:59 GMT


We are currently working on a new version of the project. The repo is here: https://github.com/bootstrap-wysiwyg/bootstrap3-wysiwyg

Updates coming soon.

LoicUV commented 9 years ago

Any progress on this ?

LoicUV commented 9 years ago

¯_(ツ)_/¯