Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
in Plugins by
When users copy-paste HTML content onto the coeditor, I would like the editor to accept paragraphs only without any attributes or styles. 
I tried setting up ckeditor's ACF (advanced content filter) allowedContent config but am having trouble assigning an id to the textarea. 
Which file should I edit?
I am using sama55's CKEditor4 plugin.
Q2A version: 1.6

1 Answer

0 votes

Is your situation same by default CKEditor (V3)? It may not be answer that you hope, but if you want to paste plain text to editor forcibly, you may be able to realize it by operation below.

  1. Go to "Admin" > "Plugin" > "CKEditor4 options"
  2. Add "forcePasteAsPlainText:true" to "Other configration:"