Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

Only 'setContent' from watch if content differs #7

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

garhbod
Copy link

@garhbod garhbod commented Aug 30, 2017

Fixed the watch function to prevent the cursor from jumping to the start of the editor content every time the content is changed. See issue #4

Also made id property optional with a unique id set if it doesn't exist
And made content property redundant by pulling the value into the setContent on init. I have left it in so that current installs don't break but it isn't really needed anymore

garhbod and others added 2 commits August 30, 2017 15:42
Fixed the watch function to prevent the cursor from jumping to the start of the editor content every time the content is changed. See issue j6montoya#4

Also made id property optional with a unique id set if it doesn't exist
And made content property redundant by pulling the value into the setContent on init. I have left it in so that current installs don't break but it isn't really needed anymore
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant