mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-12 18:50:08 +00:00
Fix for bug #8375: Editor API Log fails to set paragraph style.
Changed "window.editorShell.SetParagraphStyle(" to "window.editorShell.paragraphStyle =". Approved by chofmann.
This commit is contained in:
parent
eab1c8b67e
commit
0d1eb2c7d1
@ -158,9 +158,9 @@ nsJSEditorLog::SetParagraphFormat(const nsString& aParagraphFormat)
|
||||
return NS_OK;
|
||||
|
||||
PrintSelection();
|
||||
Write("window.editorShell.SetParagraphFormat(\"");
|
||||
Write("window.editorShell.paragraphFormat = \"");
|
||||
PrintUnicode(aParagraphFormat);
|
||||
Write("\");\n");
|
||||
Write("\";\n");
|
||||
|
||||
Flush();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user