AI营销辅助 普强使用
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.

handler.wxs 300 B

2 vuotta sitten
12345678910111213141516171819202122
  1. var inline = {
  2. abbr: 1,
  3. b: 1,
  4. big: 1,
  5. code: 1,
  6. del: 1,
  7. em: 1,
  8. i: 1,
  9. ins: 1,
  10. label: 1,
  11. q: 1,
  12. small: 1,
  13. span: 1,
  14. strong: 1,
  15. sub: 1,
  16. sup: 1
  17. }
  18. module.exports = {
  19. use: function(item) {
  20. return !item.c && !inline[item.name] && (item.attrs.style || '').indexOf('display:inline') == -1
  21. }
  22. }