Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Firefox puts cursor at the end of a textarea, not at the beginning, how can I change this (serious usability nightmare when working with a wiki)?

  • 5 답장
  • 28 이 문제를 만남
  • 2 보기
  • 최종 답변자: ipsych

more options

When I edit my DokuWiki a lot of text is displayed in the textarea. Until Firefox 4 the cursor was always at the beginning of the textarea, which made it easy to scroll down to the part I needed to edit. Now the cursor is always at the end. This is a serious usability nightmare for me. How can I change it that the cursor is at the beginning of the textarea text?

When I edit my DokuWiki a lot of text is displayed in the textarea. Until Firefox 4 the cursor was always at the beginning of the textarea, which made it easy to scroll down to the part I needed to edit. Now the cursor is always at the end. This is a serious usability nightmare for me. How can I change it that the cursor is at the beginning of the textarea text?

모든 댓글 (5)

more options

You may have switched the bidi text direction. On Windows and Linux you can toggle that via Shift+Ctrl+X. I do not know which sequence to use of Mac. You can try Shift+Cmd+X if Shift+Ctrl+X doesn't work.

more options

Hello cor-el,

thanks for your answer but unfortunately, this isn't it. I can toggle bidirectional text and the whole text is changed so that it aligns on the right side. But the problem I have is that the text is still aligns on the left side, editing is left-to-right, it's just the cursor that's at the end of the text.

Best regards & thank you

Daniel

more options

The site may be using JavaScript to place the cursor at that position.

Does that also happen on this forum if you try to edit one of your posts?

more options

It's difficult to test here as the box is not automatically selected when I click to edit it. I've tried Wikipedia, where the text box isn't selected either. But it happens in my DokuWiki (with monobook template) whenever I click to edit a page. I've asked the forum there and they thought it was a Firefox 4 issue (as it hasn't happened with the prior version).

more options

Okay, the problem seems to be the JavaScript focus() command which apparently forces the cursor to the end of the text area in Firefox 4 (apparently the only browser to do so). (Apparently as I am not familiar with JavaScript -- so this should happen on each website that has an edit button and uses focus to activate editing in a textarea.