Removing the localStorage key cleanup - seems to be a timing issue if you drag the image into a middle of a word

This commit is contained in:
Warren Buckley
2019-09-10 10:48:28 +01:00
parent 9d8e4fd66f
commit d5331d85af

View File

@@ -223,9 +223,6 @@ function tinyMceService($rootScope, $q, imageHelper, $locale, $http, $timeout, s
// When its being persisted in RTE property editor
// To create a media item & delete this tmp one etc
tinymce.activeEditor.$(img).attr({ "data-tmpimg": tmpLocation });
// Be a boy scout & cleanup after ourselves
localStorage.removeItem(`tinymce__${imgSrc}`);
});
});
}