yairEO/tagify

Problem using Tagify with Cordova Ios

开放

#601 创建于 2020年7月30日

 (10 条评论) (0 个反应) (0 位负责人)HTML (456 个派生)github user discovery
Help wanted

仓库指标

星标
 (3,880 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed

Explanation

Everything works fine on cordova(android) and all web browsers like chrome,safari an so on. But on Cordova Ios i have problem with the function parseHTML.

  • What is happening instead? It doesn't add the tag
  • What error message are you getting? TypeError: null is not an object (evaluating 'doc.body.firstElementChild') in this line of the library tagify.js: return new DOMParser().parseFromString(t.trim(), "text/html").body.firstElementChild;

贡献者指南