Prevent Copy Paste From Wysiwyg Editor

Support MB Frontend Submission Prevent Copy Paste From Wysiwyg EditorResolved

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #17656
    baraanajjar@gmail.com[email protected]
    Participant

    Hi support how to prevent copy paste on Text Area wit wysiwyg editor.
    following is the code of the fields

    array(
                    'id' => 'additional_detail',
                    'name' => esc_html__( 'DESCRIBE YOUR ITEM' ),
                    'type' => 'wysiwyg',
                    'required'   => true,
                    'options' => array(
                    'textarea_rows' => 10,
                    'media_buttons' => false,
                    ),

    waiting for your reply
    thanks

    #17671
    Anh TranAnh Tran
    Keymaster

    I'm afraid it's not possible. You can't prevent copy & paste in the default WP editor, right?

    #17675
    baraanajjar@gmail.com[email protected]
    Participant

    Sorry there is some setting needed to prevent copy paste

    #17677
    Anh TranAnh Tran
    Keymaster

    Maybe you should try textarea field with 'readonly' => true. There's no settings for preventing copy & paste for the editor, as far as I know.

    #17689
    baraanajjar@gmail.com[email protected]
    Participant

    Readonly is used to prevent adding text i need user to input text but need to prevent from copy paste.
    please check if there is any solution.
    thanks

    #17695
    baraanajjar@gmail.com[email protected]
    Participant

    it is not resolved please check there is javascript or any option in tiny mce editor which can prevent from copy paste Thanks

    #17696
    Anh TranAnh Tran
    Keymaster

    Sorry, I should have made it clearer: there is NO such solution for your problem.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.