Trix: Editor gets duplicated in Firefox

Created on 17 Jan 2017  路  2Comments  路  Source: basecamp/trix

After I am cleaning one paste into the editor, whole editor gets duplicated. Reproducible at https://trix-editor.org/ as we..

Steps to Reproduce
  1. Paste content with lists, brs, and divs
  2. Erase everything before Bar using backspace, removing the bullet point
  3. Select between Bar and Foo
  4. Press backspace to delete
  5. Editor gets duplicated

(In short, I wanted to get rid of everything around text.)

untitled

Details
  • Trix version: 0.10.0
  • Browser name and version: Firefox, 49.0.1
  • Operating system: Mac OS X

Most helpful comment

What a bizarre issue! I ultimately tracked this down to a contenteditable bug in Firefox. Reported here: https://bugzilla.mozilla.org/show_bug.cgi?id=1332924

All 2 comments

What a bizarre issue! I ultimately tracked this down to a contenteditable bug in Firefox. Reported here: https://bugzilla.mozilla.org/show_bug.cgi?id=1332924

You are amazing! Thanks for getting to the end of this.

Was this page helpful?
0 / 5 - 0 ratings