app/components/medium-editor/medium-editor.js
Function link
has 200 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
link: function ($scope, $element) {
var updateContent = function () {
if ($scope.dontUpdate) return;
$scope.$root.safeApply(function () {
$scope.content = $element.html();