---
title: "Discussion on \"Move the cursor to the END of your ContentEditable\" | Hashnode"
description: "Discussion on \"Move the cursor to the END of your ContentEditable\". I needed to automatically focus a contenteditable div after the user had been granted permission to make edits - that part was pretty easy, however the cursor ends up at the start of the text in the div. Unacceptable!\nI did some googling and the most..."
url: "https://hashnode.com/posts/move-the-cursor-to-the-end-of-your-contenteditable/62eab30f92b7fd0a78c3728b"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Move the cursor to the END of your ContentEditable](https://panda-code.hashnode.dev/move-the-cursor-to-the-end-of-your-contenteditable?utm_source=hashnode&utm_medium=feed)

I needed to automatically focus a contenteditable div after the user had been granted permission to make edits - that part was pretty easy, however the cursor ends up at the start of the text in the div. Unacceptable! I did some googling and the most...

Aug 3, 2022 · 1 min read · panda-code.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#contenteditable](https://hashnode.com/tag/contenteditable)

## Written by

[Panda Codes](https://hashnode.com/@pandacode)

@pandacode

  
[View profile](https://hashnode.com/@pandacode)

Six fingers make for faster coding

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
