Custom Fields
Re-Envisioned
Support MB Frontend Submission Prevent Copy Paste From Wysiwyg Editor

  • Creator
    Topic
  • #17656
    Resolved baraanajjar@gmail.com
    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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Author
    Replies
  • #17671
    Anh Tran
    Keymaster

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

    #17675

    Sorry there is some setting needed to prevent copy paste

    #17677
    Anh 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

    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

    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 Tran
    Keymaster

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

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