Help us to help you!

Our aim is to offer you the best service possible, to do this we need to know: (1.) Joomla! version (2.) Server type (3.) Editor version (4.) Browsers type & Version and any (5.) Error messages you may have, for help in finding this information please - click here…We would also invite you to read our form rules before posting - read more…

Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottomPage: 1
TOPIC: Pasting Table
#143
Pasting Table 1 Year, 10 Months ago Karma: 0
Good Evening,
I have a website that I recently upgraded from Joomla 1.0.X to Joomla 1.5.X. I have installed JoomlaCK Editor because the people who manage the website are having trouble pasting tables from excel.

When I was running Joomla 1.0.X I had JCE installed and when a table from excel is pasted into word, and then copied and pasted into JCE it would carry all of the table formatting (like border colors on certain cells and background colors on other cells). When I upgraded to Joomla 1.5.X it would not paste all of the formatting like it has previously.

I installed JoomlaCK and it takes the data without a problem (pasting it into the Paste from Word windows) but as soon as I click OK it removes all of that formatting. How do I get it to not remove that formatting?

Thank you,
Mike
mightymouse3062
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#665
Re: Pasting Table 1 Year, 5 Months ago Karma: 0
did you get solution? I am looking in this forum all day to see if they resolve the pasting problem and nobody says nothing. What happen?
williec4
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#667
Re:Pasting Table 1 Year, 5 Months ago Karma: 0
I have not figured out a solution yet. If you happen to find out the answer it would be greatly appreciated if you could let me know.

Thanks,
Mike
mightymouse3062
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#669
Re:Pasting Table 1 Year, 5 Months ago Karma: 32
There are two configuration settings that will enable you to change the default paste From word

config.pasteFromWordRemoveFontStyles:

This setting is set to true by default by the CKEDIOR so all font related formatting styles by word would be removed. So to override this you need to set this true in the jckeditor/config.js file

Add line config.pasteFromWordRemoveFontStyles = false;

The second option

config.pasteFromWordRemoveStyles:

Again this is set to true to remove MS Word styles that cannot be handled by the CKEDITOR.

If the above setting is not enough then you can set this to false as above and see what happens.


Regards
awills
Administrator
Posts: 484
graphgraph
User Offline Click here to see the profile of this user
Gender: Male webxsolution.com Location: London
Last Edit: 2010/08/18 08:50 By awills.

Always clear your browser cache(CTRL+SHFT+DEL for FF/IE and Chrome users)
The administrator has disabled public write access.
 
#674
Re:Pasting Table 1 Year, 5 Months ago Karma: 0
Good Morning,
I tried both of the suggestions you have and neither worked. Here is what my config.js file looks like:

/*
Copyright (c) 2003-2010, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or ckeditor.com/license
*/

CKEDITOR.editorConfig = function( config )
{
// Define changes to default configuration here. For example:
// config.language = 'fr';
// config.uiColor = '#AADC6E';
config.toolbar_Image =
[
['ImageManager']
];

config.removePluginsForFullScreenMode = ['Source','Preview','Cut','Copy','Paste','Undo','Redo','SelectAll','RemoveFormat','Bold','Italic',
'Underline','Strike','Subscript','Superscript','NumberedList','BulletedList','Outdent','Indent',
'JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock','ImageManager','imagesearch','HorizontalRule','filebrowser','imgMap'];

config.pasteFromWordRemoveFontStyles = false;
config.pasteFromWordRemoveStyles = false;
};


Thanks for your help,
Mike
mightymouse3062
Fresh Boarder
Posts: 3
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#680
Re:Pasting Table 1 Year, 5 Months ago Karma: 32
Hi Mightymouse3062,

It may be the case that the browser has not seen the new updated CKEDITOR configuration bascue it has catched the JS file. This is usually the case with browswers, so to immediately see any changes to JS files in them you have to clear the cached files.

If you do not know how to do this you can use a progtam called CCleaner to do this, which will clear all cache files cookies etc. And it is advisable to do this quite regularly cause you never know what you are storing.

Regards
awills
Administrator
Posts: 484
graphgraph
User Offline Click here to see the profile of this user
Gender: Male webxsolution.com Location: London

Always clear your browser cache(CTRL+SHFT+DEL for FF/IE and Chrome users)
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: Paul.F