Small fixes

This commit is contained in:
RainLoop Team 2014-08-12 18:27:41 +04:00
parent 016b3eead3
commit d79947259b
4 changed files with 9 additions and 1 deletions

View file

@ -104,6 +104,8 @@ NewHtmlEditorWrapper.prototype.modeToggle = function (bPlain)
this.editor.setMode('plain');
}
}
this.resize();
}
};

View file

@ -562,6 +562,10 @@ class HtmlUtils
$oElement->setAttribute('data-x-broken-href', $sHref);
$oElement->setAttribute('href', 'javascript:false');
}
else if ('a' === $sTagNameLower)
{
$oElement->setAttribute('rel', 'external');
}
}
if ($oElement->hasAttribute('src'))

View file

@ -4399,6 +4399,8 @@ NewHtmlEditorWrapper.prototype.modeToggle = function (bPlain)
this.editor.setMode('plain');
}
}
this.resize();
}
};

File diff suppressed because one or more lines are too long