diff --git a/mozilla/editor/base/nsEditorShell.cpp b/mozilla/editor/base/nsEditorShell.cpp index 67d502162ed..e4328a72bb1 100644 --- a/mozilla/editor/base/nsEditorShell.cpp +++ b/mozilla/editor/base/nsEditorShell.cpp @@ -1313,6 +1313,8 @@ nsEditorShell::GetAlignment(PRBool *aMixed, PRUnichar **_retval) tagStr.AssignWithConversion("center"); else if (firstAlign == nsIHTMLEditor::eRight) tagStr.AssignWithConversion("right"); + else if (firstAlign == nsIHTMLEditor::eJustify) + tagStr.AssignWithConversion("justify"); *_retval = tagStr.ToNewUnicode(); } } diff --git a/mozilla/editor/composer/src/nsEditorShell.cpp b/mozilla/editor/composer/src/nsEditorShell.cpp index 67d502162ed..e4328a72bb1 100644 --- a/mozilla/editor/composer/src/nsEditorShell.cpp +++ b/mozilla/editor/composer/src/nsEditorShell.cpp @@ -1313,6 +1313,8 @@ nsEditorShell::GetAlignment(PRBool *aMixed, PRUnichar **_retval) tagStr.AssignWithConversion("center"); else if (firstAlign == nsIHTMLEditor::eRight) tagStr.AssignWithConversion("right"); + else if (firstAlign == nsIHTMLEditor::eJustify) + tagStr.AssignWithConversion("justify"); *_retval = tagStr.ToNewUnicode(); } }