Opened 4 years ago

Last modified 3 years ago

#12908 confirmed Task

Merge Paste and Paste From Word buttons

Reported by: Chris Graham Owned by:
Priority: Normal Milestone:
Component: Plugin : Paste from Word Version:
Keywords: Cc:

Description

It would be much better to just have two paste buttons (plain text, regular). Detect if it is coming from Word via some simple heuristic, and then clean up if the CKEditor config says to do so.

Change History (4)

comment:1 Changed 4 years ago by Frederico Caldeira Knabben

Status: newconfirmed

In fact the normal Paste button already works in this way. It does Word cleanup if content comes from Word.

I agree that removing the Past from Word button would make (some) sense. I'm just afraid that some users may be using it for other cleanup purposes that are not limited to Word content. Like copying content from applications that cannot be sniffed as Word and use that button to paste with some success.

There is a good chance that we'll review this for CKEditor 5. For now, I would recommend simply removing the button from the toolbar, still loading the pastefromword plugin.

I'm confirming this ticket because I agree that an eventual improvement can be done in this sense.

comment:2 Changed 4 years ago by Jakub Ś

NOTE At the moment you can use

var editor = CKEDITOR.replace( 'editor1', {
	removeButtons : 'PasteFromWord'
});

It will remove paste from word button but still will clean up content from Word.

comment:3 Changed 3 years ago by Tade0

Milestone: CKEditor 4.6.0

Let's think about this again before the release.

comment:4 Changed 3 years ago by Marek Lewandowski

Milestone: CKEditor 4.6.0

We're unable to put any more PFW related tickets in 4.6.0. We'll revisit it later.

Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy