Firefox 3 and fckeditor

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
7/10/2008 11:22:48 PM
Gravatar
Total Posts 36
Anchorage, Alaska

Firefox 3 and fckeditor

Today, I started using Firefox3 to manage my localhost site.  Everything worked the same and appeared that the new page worked properly.  I then tested the search capability.  My new page was corrupt.  When I looked, it was corrupt.  After building it in IE7, everything is correct.  Then, I did the following steps as a test to verify that I have a problem using Firefox3.

In Word 2007, created one line with Hello World.  In IE7, edited new html content.  Used Word Paste.  Here is the source it generated.

<p>&nbsp;</p>
<div style="margin: 0in 0in 10pt"><span style="font-size: 12pt">Hello World</span></div>

Repeated the same steps in Firefox3.  Here is the source it generated.  Remember, I do use Word Paste.

<p>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta content="Word.Document" name="ProgId" />
<meta content="Microsoft Word 12" name="Generator" />
<meta content="Microsoft Word 12" name="Originator" />
<link href="file:///C:%5CDOCUME%7E1%5Cmikeg%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml" rel="File-List" />
<link href="file:///C:%5CDOCUME%7E1%5Cmikeg%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx" rel="themeData" />
<link href="file:///C:%5CDOCUME%7E1%5Cmikeg%5CLOCALS%7E1%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml" rel="colorSchemeMapping" /><!--[if gte mso 9]><xml>

Normal
0




false
false
false

EN-US
X-NONE
X-NONE













MicrosoftInternetExplorer4













</xml><![endif]--><!--[if gte mso 9]><![endif]--><style type="text/css">
<!--
/* Font Definitions */
@font-face
{"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{
mso-style-parent:"";
margin-top:0in;
margin-right:0in;
margin-bottom:10.0pt;
margin-left:0in;
font-size:11.0pt;"Calibri","sans-serif";
mso-bidi-"Times New Roman";}
.MsoChpDefault
{
mso-bidi-"Times New Roman";}
.MsoPapDefault
{
margin-bottom:10.0pt;
line-height:115%;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
--></style><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-style-parent:"";
line-height:115%;
font-size:11.0pt;"Calibri","sans-serif";
mso-fareast-"Times New Roman";}
</style>
<![endif]--></p>
<p><span style="font-size: 12pt">Hello World</span></p>
<p>&nbsp;</p>
<p>&nbsp;</p>

7/11/2008 6:07:14 AM
Gravatar
Total Posts 18439

Re: Firefox 3 and fckeditor

Hi Mike,

The newest version of FCKeditor has some fixes for some Firefox 3 issues. I've already upgraded to this version in svn trunk so it will be in the next release.

Hopefully this includes the fix for the paste as word issue.It does say something about fixing some bug in the cleanup logic which I think means the html cleaning they do for things pasted in.

I'm not a big fan of pasting from Word. Word makes notoriously nasty markup and I don't have enough confidence in any cleanup process. I know you are doing it for color coded code samples, but my concern would be whether the resulting page would pass the w3c validator after pasting content from Word.

Best,

Joe

7/11/2008 1:17:35 PM
Gravatar
Total Posts 36
Anchorage, Alaska

Re: Firefox 3 and fckeditor

Since I am running currently on localhost, I am not able to directly test the w3c validator.  I am currently waiting on my shared hosting company to get everything in place so I can put MojoPortal on my shared host.

If I just take a plain aspx page on my current shared host and copy the Source from from fckeditor into the aspx page.  Then, run w3c validator, will this confirm if I am getting valid pages via the Word Paste?

7/11/2008 1:22:38 PM
Gravatar
Total Posts 18439

Re: Firefox 3 and fckeditor

You can test your local pages in the validator easily.  Just right click anywhere on the page using the browser and choose "View Source", then Control a to select, Control c to copy and Control v to paste it into the validator using direct input.

7/11/2008 10:12:10 PM
Gravatar
Total Posts 36
Anchorage, Alaska

Re: Firefox 3 and fckeditor

I used the validator on my pages that I used Word Paste.  The four pages I tried all came back with Valid XHTML 1.0 Transitional.  Some pages also had images.  For these, I pasted from Word, inserted the images, and then pasted from Word.  I am happy that Word Paste is doing a good job.  It sure makes it easy for me to maintain my color coding of the code samples.

7/12/2008 6:28:47 AM
Gravatar
Total Posts 18439

Re: Firefox 3 and fckeditor

Glad to hear its validating! Maybe Word 2007 produces better markup than previous versions or maybe the FCKeditor cleanup is just really good now. I may have to try it myslef for code examples.

Best,

Joe

You must sign in to post in the forums. This thread is closed to new posts.