Closed Bug 303874 Opened 19 years ago Closed 19 years ago

Blogger WYSIWIG Editor Doesn't work and throws JavaScript Exceptions

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 302885

People

(Reporter: vladimir.lushnikov, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050807 Firefox/1.0+
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050807 Firefox/1.0+

When posting an article to Blogspot (I'm a blog author) the main WYSIWIG
interface doesn't work, you cannot even type text into it. When trying to click
formatting buttons at the top (and only formatting buttons) - a JavaScript
exception is thrown, as thus: (for example, when trying to click right align)

[Exception... "Component returned failure code@ ox80004005 (NS_ERROR_FAILURE)
[nsIDOMNSHTMLDocument.execCommand]" nsresult: "0x80004005 (NS_ERROR_FAILURE)"
location: "JS frame :: http://www.blogger.com/app/scripts/richedit.toolbars.js
:: FormatbarButton :: line 229" data: no]

Again, I must emphasise that no text can be typed into the main "post" box -
attempts to click in the text box and subsequently type text result in the text
being typed in the firefox search bar at the bottom.

Also, when editing a post with text already in it, no text is displayed inside
the box, even though the post itself already contains text.

In the JavaScript console you get errors like:

Error: [JavaScript Error: "Unknown property '_width'.  Declaration dropped."
{file: "http://www.blogger.com/css/blogger.richedit.css" line: 231}]
Source File: http://www.blogger.com/css/blogger.richedit.css
Line: 231

{AND}

Error: [JavaScript Error: "Error in parsing value for property 'cursor'. 
Declaration dropped." {file: "http://www.blogger.com/css/richedit.css" line: 182}]
Source File: http://www.blogger.com/css/richedit.css
Line: 182

I know that the WYSIWIG editor at blogspot worked in build of firefox previous
to 28th July 2005

Reproducible: Always

Steps to Reproduce:
1. Post (or edit) an article at Blogspot
2. Try to modify the main post text - or apply formatting

Actual Results:  
You cannot type text or you get a javascript exception

Expected Results:  
Proper WYSIWIG actions

*** This bug has been marked as a duplicate of 302885 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
verified dup
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.