8000 Stop initial focus by BrockReece · Pull Request #23 · CroudTech/vue-quill · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.

Stop initial focus #23

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

Stop initial focus #23

wants to merge 2 commits into from

Conversation

BrockReece
Copy link
Contributor

When using output="html" the focus was automatically being set on mount. This is a side effect of the deprecated pasteHtml method.

I have changed this to set the raw innerHTML of the editor which does not have the focus stealing side effects.

This behaviour can be previewed in this sandbox

Resolves #22

@BrockReece BrockReece added the bug label Apr 30, 2018
@BrockReece BrockReece self-assigned this Apr 30, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0