Nanometer Process Machine

    quill-plain-text-paste

    1.0.1 • Public • Published

    Workaround for Quill editor

    Issue – on mobile Quill.js flickers when you paste.

    See github issue : https://github.com/quilljs/quill/issues/1374

    Solution by wonderful Thomas Dao


    Usage

    # in your project root 
    yarn add quill-plain-text-paste
    // in your app – import and register the module
    import PlainTextClipboard from 'quill-plain-text-paste'
     
    Quill.register('modules/clipboard', PlainTextClipboard);

    PS. you might want to add some UA detection and enable the code only for certain mobile devices

    Keywords

    none

    Install

    npm i quill-plain-text-paste

    DownloadsWeekly Downloads

    2

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    1.78 kB

    Total Files

    3

    Last publish

    Collaborators

    • ognivo