Bug #21258
closedLine-break (Shift+Enter) doesn't work in Opera 10 on Mac
0%
Description
While pressing Enter key in RTE causes a new paragraph (<p>), Shift+Enter usually creates a line-break (<br/>).
Line-break doesn't work in Opera 10 (neither 4_2, nor in trunk). It always results in a new paragraph.
(issue imported from #M12216)
Files
Updated by Stanislas Rolland about 15 years ago
Do I understand well? I just re-tested this with Opera 10.01 and TYPO3 4.3 (SVN trunk): shift+enter does insert a br element.
Updated by Staffan Ericsson about 15 years ago
Could it be a plattform/browser issue?
OS could be helpful in this questions - as browser can behave slightly diffrent depending on OS
Updated by Steffen Gebert about 15 years ago
Indeed, you're right. It appears only on my MacOS, not in a Windows VM.
@Stanislas Rolland
Do you have a Mac in reach? Otherwise tell me, how I can help!
Updated by Stanislas Rolland about 15 years ago
I do not have access to a Mac.
Does it work in Safari on Mac? Does it work in Firefox on Mac?
Updated by Stanislas Rolland about 15 years ago
Please test the attached patch against trunk on Mac.
Do not forget to clear RTE cache and Opera cache before testing.
Updated by Steffen Gebert about 15 years ago
No, unfortunately this doesn't help :(
Updated by Stanislas Rolland about 15 years ago
@Steffen: Would you know if this issue is new on Mac with Opera 10 or if it was already so with Opera 9.5?
Updated by Steffen Gebert about 15 years ago
Just tried 9.6 and it was already there.
Updated by Stanislas Rolland about 15 years ago
Second trial... Please test patch version 2 against trunk.
Updated by Steffen Gebert about 15 years ago
Unfortunately not. If you need remote access, just contact me on skype (steffengebert)!
Updated by Stanislas Rolland about 15 years ago
Well, remote access will not be of any help as the problem is on the client side. I don't understand why Opera handles this key combination differently on Windows and Mac...
Updated by Steffen Gebert about 15 years ago
Of course, I meant remote access to my mac. Do you have a small testsuite, what key codes are fired, when I press the keys?
Have no experience with those things.
Updated by Stanislas Rolland about 15 years ago
@Steffen:
Please try to access this page from Opera 10 on Mac OS X:
http://www.sjbr.ca/fr/commentaires.html
Simply press Shift+Enter in the editing area. You should get a JS alert reporting: "Enter was pressed. ev.shiftKey = true". Let me know if you get the alert.
Please clear the browser cache before doing the test.
Updated by Steffen Gebert about 15 years ago
"Enter was pressed. shiftKey= false"
sounds not good ;)
In a Windows VM, I get shiftKey=true, so it's opera itself which eats up the shift :(
Updated by Steffen Gebert about 15 years ago
I made some tests: <input type="text" onkeyup="alert(event.shiftKey);" /> returns true, if I press shift+enter. So in principle, the event has IMHO the corrent information attached.
Updated by Stanislas Rolland about 13 years ago
- Category set to RTE (rtehtmlarea + ckeditor)
- Target version deleted (
0) - TYPO3 Version set to 4.4
Updated by Steffen Gebert almost 13 years ago
- Status changed from Accepted to Resolved
Works in recent Opera versions.