#1331 closed enhancement (fixed)
Enter key in Editor2 should have the same behavior in different browsers
Reported by: | guest | Owned by: | liucougar |
---|---|---|---|
Priority: | high | Milestone: | 0.9 |
Component: | Editor | Version: | 0.3 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
Pressing the Enter key in the Editor2 widget sometimes starts a new paragraph (P), sometimes inserts a line break (BR).
Liu Cougar noted in an email that currently he has no efficient way to correct this issue.
However, we know it's possible to have the Enter key always insert a new paragraph, since Jot Spot does it... somehow.
So this enhancement request is here as a plea for the hackers out there to figure how to do this! :-)
In my testing, this is what I saw:
Internet Explorer 6.0 in Windows inserts a new paragraph.
Fire Fox 1.5.0.6 running in Windows inserts a line break.
Fire Fox 1.5.0.4 running in Linux inserts a new paragraph.
Fire Fox 1.0.7 running in Linux inserts a line break.
Many thanks,
Andrew Wilcox
Change History (8)
comment:1 Changed 13 years ago by
Component: | General → Widgets |
---|---|
Milestone: | → 0.5 |
Owner: | changed from anonymous to liucougar |
Version: | 0.2 → 0.3 |
comment:2 Changed 13 years ago by
comment:3 Changed 13 years ago by
Component: | Widgets → Editor |
---|
comment:4 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:5 Changed 13 years ago by
In IE you can force the insertion of BRs on VK_ENTER by wrapping everything in a DIV. When IE sees that the caret is inside a DIV, it will insert BRs.
Regards, Em Te
comment:6 Changed 11 years ago by
(In [15199]) Better comments for EnterKeyHandling? plugin, refs #1331, #2859 !strict
comment:7 Changed 11 years ago by
(In [15228]) Revise comments for EnterKeyHandling? plugin as per input from Cougar, refs #1331 !strict
comment:8 Changed 10 years ago by
(In [18386]) Attempt to clarify EnterKeyHandling? API documentation, refs #1331, #2859 !strict.
I don't think dojo wiki always inserts a new paragraph when you press enter, at least not in FF 1.5 under windows