Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add: new setting: Force Paste as Plain Text #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

BenceSzalai
Copy link

Title really tells it all.
modx.htmleditor.js got a bit hackish as despite 'allow-word' setting is a built-in option for CKEditor, true only really works any different than 'allow-word' if the pastefromword plugin is disabled at the same time. Also because forcePasteAsPlainText can both be boolean and string.
Tested on ModX v2.7.2-pl, builds fine and works as advertised.

@BenceSzalai BenceSzalai force-pushed the sbnc_patch_option_force_plain_text_paste branch from 8d94456 to 14d468b Compare January 18, 2020 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants