Support » Plugin: TinyMCE Advanced » Turn paste as plain text on permanently but hide button

  • Hi Frank

    I am just starting out so any help you can offer is greatly appreciated.

    I am running my own functionality plugin. I want a (up to date)a code snippet that I can run to set the hide the paste as text button in the tool bar but set the toggle for paste as text permanently to ON.

    I also want a snippet to strip out any tags.

    I have read countless threads on this but none seem to have up to date code.

    Thanks in advance for any assistance you can offer.

    Kind Regards

    Max

    https://wordpress.org/plugins/tinymce-advanced/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Andrew Ozz

    (@azaozz)

    WordPress Dev

    I have read countless threads on this but none seem to have up to date code.

    Have you looked at the TinyMCE documentation? https://www.tinymce.com/docs/configure/

    I also want a snippet to strip out any tags.

    I don’t understand. Stripping the tags will leave you with plain text with no line breaks. Why do you need an editor to get that, a textarea should be enough?

    Hi @khunmax
    I want to do exactly same, turn on paste as text permanently. Did you succeed?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Turn paste as plain text on permanently but hide button’ is closed to new replies.