yairEO/tagify

Problem using Tagify with Cordova Ios

Open

#601 opened on Jul 30, 2020

 (10 comments) (0 reactions) (0 assignees)HTML (456 forks)github user discovery
Help wanted

Repository metrics

Stars
 (3,880 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

  • 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;

Contributor guide