No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. DorianSOS
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 1
    • Best 0
    • Groups 0

    DorianSOS

    @DorianSOS

    0
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    DorianSOS Follow

    Latest posts made by DorianSOS

    • RE: How to get Cursor Position from q-editor?

      try this

      changeInput (value) {
            console.log(this.$refs.editorval.$refs.content)
            const content = this.$refs.editorval.$refs.content
            if (content) {
              if (window.getSelection) { // ie11 10 9 ff safari
                var range = window.getSelection()
                console.log(range)
                this.cursorPosition = range.focusOffset
                console.log('cursorPos:', this.cursorPosition)
              }
              this.cursorPosition = 0
            }
          }
      
      posted in Help
      D
      DorianSOS