Jump to content

Copy and Paste


b0re

Recommended Posts

Hello,

Not sure if this is IPB4 thing.

I had a lot of uses of IPB4 telling me that they do not like the way the text editor works for paste.

If you copy some text from a website and then past in to IPB4 it keeps all the styles, images and links.

The 2 forums we have used so far Vanilla and PHPBB on past just give you the raw data in the text editor.

Is there a way to just get the raw data without the styles, images and links?

Thanks

 

 

Link to comment
Share on other sites

When setting up your toolbar in the ACP, you can drag the "cogwheel" into it. That has the option of pasting using plain text by checking a box, which will save your option. Other than that, you can hold Ctrl + Shift + V to paste in plain text.

Link to comment
Share on other sites

Assuming it's the same as previous versions:

Add this line to ips_config.js to force all pastes to plain text.

config.forcePasteAsPlainText = true;

right below this:

CKEDITOR.editorConfig = function( config )
{

that file is in /public/js/3rd_party/ckeditor

Link to comment
Share on other sites

There is a setting that allows them to change the default behavior. All you need to do is simply make sure the Preferences button is in the editor toolbar.

Once that is set in the toolbar, users can click it which will give them the option to disable retaining styling when copy and pasting.

​That's not really friendly for the average user… Any way to make it as default?

Thanks,

Link to comment
Share on other sites

I know this.

I want it defaulted off. 

New user copy and past and do not know about this button.  You end up with a post someone has copied with 20-30 links in.  

Also how do i remove the double spaces between the text.

Thanks

Link to comment
Share on other sites

Archived

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

  • Recently Browsing   0 members

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