<![CDATA[ TinyMCE RTE - Paste as plain text option by default - MODX Community Forums]]> https://forums.modx.com/thread/?thread=99583 <![CDATA[TinyMCE RTE - Paste as plain text option by default]]> https://forums.modx.com/thread/99583/tinymce-rte---paste-as-plain-text-option-by-default#dis-post-538468
Edit: In addition I'd like to set a default height for the editors textarea if possible.]]>
alex.gr Feb 18, 2016, 06:14 AM https://forums.modx.com/thread/99583/tinymce-rte---paste-as-plain-text-option-by-default#dis-post-538468
<![CDATA[Re: TinyMCE RTE - Paste as plain text option by default (Best Answer)]]> https://forums.modx.com/thread/99583/tinymce-rte---paste-as-plain-text-option-by-default#dis-post-539552
Past as text (tinymcerte.paste_as_text). Set it to "yes".]]>
treniota Mar 13, 2016, 09:22 AM https://forums.modx.com/thread/99583/tinymce-rte---paste-as-plain-text-option-by-default#dis-post-539552
<![CDATA[Re: TinyMCE RTE - Paste as plain text option by default]]> https://forums.modx.com/thread/99583/tinymce-rte---paste-as-plain-text-option-by-default#dis-post-538541 donshakespeare Feb 19, 2016, 01:18 PM https://forums.modx.com/thread/99583/tinymce-rte---paste-as-plain-text-option-by-default#dis-post-538541 <![CDATA[Re: TinyMCE RTE - Paste as plain text option by default]]> https://forums.modx.com/thread/99583/tinymce-rte---paste-as-plain-text-option-by-default#dis-post-538509 Tried TinymceWrapper, but I'm usually scrapping everything that adds additional unnecessary plugins "elfinder" in this case. It also created 4 new resources, which increments my resource id's, which is not what I want to do, now I have to go through the database deleting the instances... edit: at least resetting the auto increment isn't a big deal, everything back to normal.]]> alex.gr Feb 19, 2016, 03:03 AM https://forums.modx.com/thread/99583/tinymce-rte---paste-as-plain-text-option-by-default#dis-post-538509 <![CDATA[Re: TinyMCE RTE - Paste as plain text option by default]]> https://forums.modx.com/thread/99583/tinymce-rte---paste-as-plain-text-option-by-default#dis-post-538507
In System Settings /manager/?a=system/settings ..search for tinymcerte.plugins, in the field with other words like advlist, add paste

Then in init.json
  "init": {
    "height": 200,
    "paste_as_text": true

If you get stuck, consider switching, if it is a possibility, to TinymceWrapper]]>
donshakespeare Feb 19, 2016, 02:36 AM https://forums.modx.com/thread/99583/tinymce-rte---paste-as-plain-text-option-by-default#dis-post-538507
<![CDATA[Re: TinyMCE RTE - Paste as plain text option by default]]> https://forums.modx.com/thread/99583/tinymce-rte---paste-as-plain-text-option-by-default#dis-post-538506
Path to the external config file, that will be merged with with defaults from system setting. Config file has to contain valid JSON object.

Any hint how to set it up. If possible without hacking the plugins core files.
I'm not very experienced so far, but I've tried:

  "init": {
    "selector": "#selector",
    "plugins": "paste",
    "height": 200,
    "paste_as_text": true

Path: assets/templates/init.json]]>
alex.gr Feb 19, 2016, 02:15 AM https://forums.modx.com/thread/99583/tinymce-rte---paste-as-plain-text-option-by-default#dis-post-538506
<![CDATA[Re: TinyMCE RTE - Paste as plain text option by default]]> https://forums.modx.com/thread/99583/tinymce-rte---paste-as-plain-text-option-by-default#dis-post-538481 https://www.concrete5.org/community/forums/usage/tinymce-paste-as-plain-text-as-default/
I have some customers that are DRIVING me nuts and they won't use the "Paste as Plain Text" button when they paste from MS Word.

How can I set my TinyMCE Editor to by default paste as plain text ... so my users don't have to click the button.

Yes I know this is small, but will save me LOADS of hours and emails fixing their mistakes.

This is exactly what you need
    selector: "#selector",
    height: 200,
    paste_as_text: true

If using TinymceWrapper, just paste that in your init chunk, done!]]>
donshakespeare Feb 18, 2016, 01:03 PM https://forums.modx.com/thread/99583/tinymce-rte---paste-as-plain-text-option-by-default#dis-post-538481