Jump to content

Ckeditor: Force to paste as plain text


Kirill N

Recommended Posts

Posted

I'm trying to disable pasting as formatted text by adding

config.forcePasteAsPlainText = true;  

to applications ▸ core ▸ interface ▸ ckeditor ▸ ckeditor  ▸ config.js

but it doesn't have any effect. Any ideas on what I'm doing wrong?

  • 3 months later...
Posted

You should add it inside the brackets, and you should replace "config" by "a", to be consistent with the configuration function.

I'm talking about IPS V4.

Posted

I'm trying to disable pasting as formatted text by adding

config.forcePasteAsPlainText = true;  

to applications ▸ core ▸ interface ▸ ckeditor ▸ ckeditor  ▸ config.js

but it doesn't have any effect. Any ideas on what I'm doing wrong?

CKEDITOR.config.forcePasteAsPlainText = true;

Screen_Shot_2015-06-02_at_19.21.59.thumb

Posted

CKEDITOR.config.forcePasteAsPlainText = true;

Screen_Shot_2015-06-02_at_19.21.59.thumb

 

Is there a way to disable autosaving? One of my members' biggest complaints is the fact that they'll start a message, change their mind. It causes some frustration when it's a quote since those are hard to delete on some devices. 

Posted

 

Is there a way to disable autosaving? One of my members' biggest complaints is the fact that they'll start a message, change their mind. It causes some frustration when it's a quote since those are hard to delete on some devices. 

​Wait are you saying that the backups are automatically filled into the textarea when you return?

Just checked - apparently that's right.

That's pretty stupid IMO, especially with no button to clear it. If I navigate away, and come back a while later (I don't know how long it saves for, so perhaps it's a non-issue), I should be allowed to recover from the previous backup, but if I've left it for, say, 20 minutes, I'm probably (though not definitely) planning to start from scratch. Why don't they just add a big button at the bottom of the editor that says "recover last content" (or something a bit better worded than that). People will still be able to see it if they want to recover their post, but they are equally able to start from scratch if that's what they want.

Just my opinion on the matter.

  • 2 months later...

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...