0 Replies
      Latest reply on May 13, 2020 9:45 AM by swatimhatre16
      swatimhatre16 Level 1 Level 1 (0 points)

        I am trying to read clipboard data using event.clipboardData.getData('Text') or window.clipboardData.getData('Text').

        When I tried manually triggering ctrl+v I was able to access the data using event.clipboardData.getText(), but when I programatically trigger paste event it did not work.

         

        I want a solution where the getData should work without user intervention, provided the user is asked for permission before accessing clipboard, the way it happens in Chrome for navigator.cliboard.readText().