This PR is another attempt to fix #51 but using an approach different from the one in #60 (as pointed here).
Here, the copy / paste issue when using Firefox or Edge is resolved using the Clipboard API and the Selection API.
Apart a workaround needed for Microsoft Edge, I find that solution much more elegant and less complicated than the first one I have already submitted (#60). Also, there is no changes in the HTML layout and considering the APIs mentioned above seem widely supported, I think this solution should be preferred.
CSS selectors improvements as introduced in #60 are also still part of that new PR.
This PR is another attempt to fix #51 but using an approach different from the one in #60 (as pointed here).
Here, the copy / paste issue when using Firefox or Edge is resolved using the Clipboard API and the Selection API.
Apart a workaround needed for Microsoft Edge, I find that solution much more elegant and less complicated than the first one I have already submitted (#60). Also, there is no changes in the HTML layout and considering the APIs mentioned above seem widely supported, I think this solution should be preferred.
CSS selectors improvements as introduced in #60 are also still part of that new PR.