Editor: Control-E does work in input fields

Hi There,

something that I keep running into is that Control-E does not move the cursor to the end of the line:

control-e

This is something that is fairly standardised (at least on my Mac + Firefox) for all input fields. Is there a way of activating control-e? I noticed (in making the gif above) that control-a works, so does control-d (for deleting).

Is it just me or have others also noticed this?

Does your keyboard not have an End key?

Does CTRL+→ (arrow) keys move per-word?
Or a fn key for Fn+→ (arrow)
PS, I dont do apple products.

Oh ok, that moves to the end of the entire content on Mac so it is the equivalent of ctrl-e.

I would prefer to use ctrl-e since that is more universal. Do you know why that wouldn't be working in that particular field? Is there some kind of CSS/JS that turns ctrl-e off/overrides it?

Does ctrl-e working using windows? Not that I would convert to Windows just for that :wink:

Cheers for the alternative :+1:

P.s. Fn does nothing, so Fn→ (arrow) doesn't work

@gregorius by default we have Ctrl/Cmd-E bound to showing the Export Nodes dialog. The scoping of the event means it is being triggered even when the edit dialog is open. The action decides it isn't a valid time to show the dialog so takes no further action - but by that time, the keyboard event has been consumed so the browser-default handling doesn't happen.

We'll need to look at how we can better scope the event so it doesn't consume the event in that scenario.

Thanks for the clarification, I was thinking that could be issue. And yes, if I remove the assignment for ⌘-e then ctrl-e does work in the input field.

The unfortunate thing is that I use ⌘-e just as often as I use ctrl-e, so I can't really unmap the default behaviour.

Ah, I've just mapped export to (cmd)-(shift)-e, i.e. capital E, and now the input field handles ctrl-e correctly and when I do an export, I have to add a shift.

Cheers for quick responses :+1:

EDIT: An alternative is scoping Cmd/Ctrl-e to just the workspace, i.e. export dialog only opens when in the workspace, that also works.

ctrl-e doesn't move to the end on anything I just tried. including several browsers. That's on Windows, my Macbook is downstairs though, to be honest, Macbook keyboards drive me crazy, especially for the UK layout as they are definitely not standard (I once had an argument with our Apple account manager and her pet techie about it :smile: ). The Windows keyboard is based around earlier mainframe standards so many of the keys have been standard for maybe up to 50 years in some cases. I have over 40 years of muscle memory. :rofl:

shift-end is the standard for going to the end of the line.
ctrl-end to the end of the current document.
ctrl-rightarrow usually moves right by a single "word".

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.