Fixed bug 12126. Removed pref code from nsHTMLEditor - do HLine pref stuff in JS instead.
git-svn-id: svn://10.0.0.236/trunk@44747 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -1871,24 +1871,6 @@ nsEditorShell::InsertElement(nsIDOMElement *element, PRBool deleteSelection)
|
||||
return result;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsEditorShell::SaveHLineSettings(nsIDOMElement* aElement)
|
||||
{
|
||||
nsresult result = NS_NOINTERFACE;
|
||||
switch (mEditorType)
|
||||
{
|
||||
case eHTMLTextEditorType:
|
||||
// this is bogus. We should save the HLine settings (or HRule, as it's more properly known) here.
|
||||
result = mEditor->SaveHLineSettings(aElement);
|
||||
break;
|
||||
|
||||
case ePlainTextEditorType:
|
||||
default:
|
||||
result = NS_ERROR_NOT_IMPLEMENTED;
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
nsEditorShell::InsertLinkAroundSelection(nsIDOMElement* aAnchorElement)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user