FCKEditor tables in Nitobe
xamder - May 24, 2009 - 14:03
| Project: | Nitobe |
| Version: | 6.x-3.4 |
| Component: | User interface |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hi,
I am trying to copy/paste a table from word or excel into FCKEditor. The table appears to copy fine into the editor window. But when I save the page, the table does not appear correctly. Each cell is rendered vertically. Is this a style issue I need to tweak in my nitobe css? Or is this an FCKEditor style issue?
Any help/insight is appreciated.
Thanks,
Xamder

#1
#2
#3
@xamder - On some of the sites I maintain, I use both Nitobe and the FCKEditor and haven't been able to repeat the bug you mentioned. WYSIWYG editors like FCKeditor, TinyMCE, etc. can sometimes display content a little bit wonky when you cut and paste from other applications. Microsoft Word and Excel tend to have underlying styling code that comes along for the ride when you cut and paste (e.g. class="MsoNormal" is a prime example). To get around this, the FCKeditor has a Paste From Word option (works for any program BTW) to cleanse the content from the styling before it gets pasted into the editor. Are you cleansing your table before bringing it in?
Also, could you elaborate a little bit more about your setup? Which Drupal version of FCKEditor are you running? Which version of the FCKEditor are you using with the module (downloaded from http://fckeditor.com)?
#4
I tried pasting from word but didn't work either, did in drupal 5 though.
Drupal 6.13,
FCKeditor 2.6.4.1
I've got tables to show up in FCKeditor by creating them first in html in another editor then switching FCKeditor off and pasting the code into it. Then select the input format to Full HTML. Then save / preview..