trix
trix copied to clipboard
in a code block, when pressing enter the cursor didn't move to a new line
Here in action
type hello
, press enter, type world
, press enter.
I'm using Firefox 41.0.2 in Ubuntu 14.04.
It also happens on Firefox 44.0.1 on Mac OS X. It seems the bug should be fixed on the Firefox level.
https://bugzilla.mozilla.org/show_bug.cgi?id=1040445 https://bugzilla.mozilla.org/show_bug.cgi?id=960449
Firefox is quite a pain i must say.
I just came accross something similar in IE.
Using IE 11.953.14393.0 on Windows 10, when pressing enter inside a code block, different behavior takes place depending on wheter the final item present inside the editor is a code block.
If the current code block is the only item in the editor, pressing enter will get you stuck.
If the final item in the editor is another code block, the same thing will happen (although the focus does seem to jump to the final code block first).
If the final text in the editor is not a code bock, then pressing enter inside a code block will make your cursor jump to right behind the final text. (I only tested this using regular text.)
Brief aside here, guys:
First, let me compliment you on your bug report. If even SOME of my QA testers provided actionable reports half this well, I'd actually know what a "Friday Night" looked like from the other side. 💯
Second: Please, what tool are y'all using to capture those GIFs? I seriously want to implement this as a policy within my QA/QE groups.
It's been four years, huh. I don't even remember anymore what I'm using at that time. If I might guess, it's probably the screen recording program in the default installation of Ubuntu 14.04. And probably ffmpeg to turn the video into gif. Hope that answer helps, @UInIQ