BookStack
BookStack copied to clipboard
Can't add whitespace on EOL of list if I have a sublist
Describe the bug when I have a list with a sublist, I can't add whitespace at the end of the first line
Steps To Reproduce Steps to reproduce the behavior:
- Create a new page
- Add a list and type text : "first list"
- Add a sublist and type test : "second list"
- Set your cursor after text "first list"
- Press space bar => no space added
Expected behavior I want to add space ;)
Screenshots If you can't reproduce it, I can make a video.
Your Configuration (please complete the following information):
- Exact BookStack Version (Found in settings): v0.25.1
- Browser : Chrome on OSX (10.13.6) (Version 72.0.3626.121)
Thanks !
Hi. I have noticed this as well. As explained above, it seems when starting a list and press Shift + Enter for a new line; I cannot put a space in the new line. But, if I type out the words, then arrow back I can put a space.
I am running Bookstack Version: v0.25.2 on Ubuntu 18.04 Browser is Chrome on Windows 8/10 & Server 2012.
Thanks
Thanks both for reporting, Can confirm I can reproduce both of these. Hopefully should be a case of just updating the editor library. Have marked as something to look at for the next major release.
Updated the editor library used but unfortunately the issue still seems to be apparent. Will have to move this one out.
I think the issue reported by @bobwoke might be fixed by the update though.
Dev info
Seems to be in TinyMCE since can replicate in their demos, even in 5.x. Occurs on 'input' event action since spaces can be placed if 'input' handler removed from WYSIWYG element.
I just tried this and I think it's resolved. There is a little weird thing where if I click on the "first list", the cursor goes to "|first list" not "first list|", but space can be added so this issue should be closed?