00049

Summary: Copy doesn't work in the comment editor
Created: 2020-05-10 00:07
Status: Closed
Category: Bug
From: Crabman?
Assigned:
Priority: 3
Version:
OS:

Description: I open a post on greaterwrong, for example https://www.greaterwrong.com/posts/NfdHG6oHBJ8Qxc26s/the-zettelkasten-method-1. I start writing a comment. I select a part of the comment I am writing to copy it and press Ctrl+C or press right click -> copy. The copying doesn't happen. Instead, in the javascript console I get an error:

IndexSizeError: Index or size is negative or greater than the allowed amount

    getSelectionHTML https://www.greaterwrong.com/script.js?v=1587268058:151
    textCopied https://www.greaterwrong.com/script.js?v=1587268058:3816

You can see a screenshot at

Browser: Firefox quantum 68.8.0esr (64-bit). Enabled addons which might affect greaterwrong: lesser2greater, ublock origin, https everywhere, firefox multi-account containers. Crabman?

Remark: now that I've reloaded the page, I no longer get this error in the console, but copying still doesn't work. Crabman?

Fixed in cf04f877 saturn