Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to get the content from @change event when the grammerly is active on editor. #483

Open
4 tasks done
manoj-rp opened this issue Nov 24, 2022 · 0 comments
Open
4 tasks done

Comments

@manoj-rp
Copy link

Describe the bug

I found that we are using the below code to emit the "change" event. I think we shouldn't going with children[0] since the position of the editor element may not be always the first child. Instead we should be going with the query selection with id of the element.

let html = this.$refs.editor.children[0].innerHTML

Reproduction

Install grammerly on chrome and try to use the last demo component used listed in this demo link - https://github.surmon.me/vue-quill-editor

System Info

System:
    OS: macOS 13.0.1
    CPU: (8) x64 Apple M1
    Memory: 23.82 MB / 8.00 GB
    Shell: 3.2.57 - /bin/bash
  Binaries:
    Node: 12.11.0 - ~/.nvm/versions/node/v12.11.0/bin/node
    Yarn: 1.22.17 - /usr/local/bin/yarn
    npm: 6.11.3 - ~/.nvm/versions/node/v12.11.0/bin/npm
  Browsers:
    Brave Browser: 102.1.39.111
    Chrome: 107.0.5304.110
    Safari: 16.1
    Safari Technology Preview: 15.4

Used Package Manager

npm

Validations

  • Read the the documentation in detail.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
  • The provided reproduction is a minimal reproducible example of the bug.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant