mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-12 08:35:33 -05:00
9c38655a92
this was just a simple index problem. The 0. entry of a regex result is the whole string and not the first capture group added e2e tests to fix this in the future cypress does currently not support copy to clipboard in firefox so this part of the test is commented out (for the time being)
8 lines
165 B
JavaScript
8 lines
165 B
JavaScript
// const clipboardy = require('clipboardy');
|
|
module.exports = ( on ) => {
|
|
on('task', {
|
|
getClipboard () {
|
|
// return clipboardy.readSync();
|
|
}
|
|
});
|
|
};
|