yairEO/tagify

Problem using Tagify with Cordova Ios

Aperta

#601 aperta il 30 lug 2020

 (10 commenti) (0 reazioni) (0 assegnatari)HTML (456 fork)github user discovery
Help wanted

Metriche repository

Star
 (3880 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor