diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/ueditor/ueditor.view.js b/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/ueditor/ueditor.view.js new file mode 100644 index 000000000..b87b117a0 --- /dev/null +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Content/ueditor/ueditor.view.js @@ -0,0 +1,7 @@ +let imgs = document.querySelectorAll('img') +imgs.forEach(e => { + let src = e.getAttribute('src') + if (src.includes('Content/ueditor/dialogs/attachment/fileTypeImages/icon_')){ + e.style.display = 'none' + } +}) \ No newline at end of file diff --git a/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/UtilityController.cs b/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/UtilityController.cs index 56b697465..1d26e2050 100644 --- a/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/UtilityController.cs +++ b/Learun.Framework.Ultimate V7/Learun.Application.Web/Controllers/UtilityController.cs @@ -607,6 +607,7 @@ namespace Learun.Application.Web.Controllers public ActionResult ListContentView(string keyValue) { var data = noticeIBLL.GetEntity(keyValue); + data.F_NewsContent = data.F_NewsContent + ""; data.F_NewsContent = WebHelper.HtmlDecode(data.F_NewsContent); return Content(data.F_NewsContent); }