You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

7 lines
223 B

  1. let imgs = document.querySelectorAll('img')
  2. imgs.forEach(e => {
  3. let src = e.getAttribute('src')
  4. if (src.includes('Content/ueditor/dialogs/attachment/fileTypeImages/icon_')){
  5. e.style.display = 'none'
  6. }
  7. })