Colonel_mortis Posted April 17, 2016 Posted April 17, 2016 It would be really useful if, in addition to the current paste options of "Keep formatting, but allow user to remove formatting" and "Remove formatting and do not allow user to restore", you added a third option: "Remove formatting, but allow user to restore". By default, their content would paste as plain text, but they would get the banner allowing them to add the formatting back if they want. Too many users ignore or don't notice the formatting banner, and that causes loads of issues with the night theme, where black text is unreadable.
*José Antonio Posted July 1, 2016 Posted July 1, 2016 +1 A lot of a users paste text with some background and ignore the option to remove it, so by default be plain text allowing restore formatting would be great.
TSP Posted August 2, 2016 Posted August 2, 2016 This is something I wish would be an option as well. Generally I find that in most cases people don't actually want the formatting to be in place either way.
Colonel_mortis Posted August 13, 2016 Author Posted August 13, 2016 @Lindy was this marked as not planned for technical reasons, or because you don't like the idea? Because this topic appears to have been received quite well, and I can think of a fairly straight forward method to implement what I suggested (just use your current code, but remember the HTML version and strip the tags and insert the plain text version), as well as an incredibly easy method to get a similar effect (use CKEditor's built in semantic markup only paste mode, which is the best of both words - it keeps the relevant formatting, while removing the styles that are almost always undesirable, such as the foreground and background colours added by Chrome.
Thomas K. Posted August 13, 2016 Posted August 13, 2016 I would rather have this than the other options. Most forum users paste their junk formatting and don't remove it, for some annoying reason. Very seldom will users actually want to keep their formatting.
CheersnGears Posted August 14, 2016 Posted August 14, 2016 2 hours ago, Colonel_mortis said: @Lindy was this marked as not planned for technical reasons, or because you don't like the idea? Because this topic appears to have been received quite well, and I can think of a fairly straight forward method to implement what I suggested (just use your current code, but remember the HTML version and strip the tags and insert the plain text version), as well as an incredibly easy method to get a similar effect (use CKEditor's built in semantic markup only paste mode, which is the best of both words - it keeps the relevant formatting, while removing the styles that are almost always undesirable, such as the foreground and background colours added by Chrome. I don't get how you could undo deletion of the formatting after you've already tossed it.
Colonel_mortis Posted August 14, 2016 Author Posted August 14, 2016 17 hours ago, CheersnGears said: I don't get how you could undo deletion of the formatting after you've already tossed it. The same way it removes formatting when you click the button at the moment - store the rich version in a JS variable, and insert the plain or semantic version into the page, then if they click the button you just revert the editor to how it was before the paste, and insert the rich version, rather than the plain version as it does now.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.