Auto focus not working properly, focuses to starting of the content
See original GitHub issueAutofocus not working properly. it autofocuses the cursor to the starting of the content. is there a way to set the cursor position to end of the content? please watch the gif for better understanding
Minimal code
const initialContent = `<p>Hi rameez,</p><p>second line</p>`
this.editor = new Editor({
content: initialContent,
autoFocus: true,
extensions: [
new Blockquote(),
new BulletList(),
new CodeBlock(),
new HardBreak(),
new Heading({ levels: [1, 2] }),
new ListItem(),
new OrderedList(),
new TodoItem(),
new TodoList(),
new Bold(),
new Code(),
new Italic(),
new Link(),
new Strike(),
new Underline(),
new History(),
new Placeholder({
emptyClass: 'is-empty',
emptyNodeText: 'Write something…',
showOnlyWhenEditable: true
})
]
})
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Auto focus not working properly, focuses to starting of the ...
Autofocus not working properly. it autofocuses the cursor to the starting of the content. is there a way to set the cursor position...
Read more >The camera doesn't focus using the autofocus (AF) setting
Switch the camera or the lens to Manual Focus (MF). Check the following and try changing to the desired setting. Focus Mode: The...
Read more >How to do a Camera Focus Test for Autofocus Issues
Determine from your test whether you have back or forward focusing issues. · On your camera, identify the AF micro-adjustments menu option. ·...
Read more >My Camera Won't Focus: The 8 Most Common Problems
My Camera Won't Focus: The 8 Most Common Problems · 1. The Lens Needs to Be Calibrated · 2. Dirty AF Sensors ·...
Read more >SOLVED: The auto focus doesn't work - Nikon D3200
If autofocus does not work even with a different lens, there's no easy fix - the problem is almost certainly with the camera...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@jeremyphillipsfti this forked project of tip-tap seems to be a better version https://www.npmjs.com/package/tiptap-vuetify . it works in rapo with vuetify but you can style it for your needs without using vuetify. it also has v-model support by default.
tried using
after the plugin inited but same behaviour. ie focusing on start.
working with
"tiptap": "^1.14.0",