basecamp / basecamp/trix

Incorrect cursor position after pasting HTML-formatted code from a webpage

Open
#496 3 comments 0 reactions 0 assignees View on GitHub
bug confirmed
Dominant language
JavaScript
Stars
20k
Forks
1.1k
Avg merge
3d 12h
Merged PRs (30d)
13

Description

When pasting formatted text from [the Kubernetes Docs](https://kubernetes.io/docs/concepts/services-networking/ingress/#tls), the cursor gets backed up one character from the end.
##### Steps to Reproduce

1. Go to [the Kubernetes Docs](https://kubernetes.io/docs/concepts/services-networking/ingress/#tls)
2. Copy the formatted yaml from the first example
3. Paste into trix editor
4. Observe the new cursor position
incorrect-cursor-position

##### Details

* Trix version: 0.11.2
* Browser name and version: Google Chrome | 65.0.3325.181 (Official Build) (64-bit)
* Operating system: Linux

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.