Giter VIP home page Giter VIP logo

Comments (4)

Exilz avatar Exilz commented on May 13, 2024

Try using the onLinkPress prop and see if you can log something from it.

Please paste your HTML string and all the props you're using.

from react-native-render-html.

FrK492 avatar FrK492 commented on May 13, 2024

When i use onLinkPress prop all i can log out is a Proxy object.

Im using html and imagesMaxWidth props.

this is what i see when i log it.
image

and this is my html string

<p>​​​</p><p>ŞEHİR Akademik Arşiv'de yer alan belgelerden yararlanılarak yapılacak ve&#160;<strong>basılı ve/veya elektronik ortamlarda&#160;yayınlanacak</strong>&#160;her türlü çalışmada söz konusu&#160;<strong>belgelerin hak sahiplerinden gerekli izni almak çalışmayı yapan kişi ve kurumların sorumluluğundadır.</strong>&#160;İstanbul Şehir Üniversitesi hiçbir ticari amaç gütmeksizin kamu kaynaklarının yanı sıra&#160;kendi kaynak ve imkanlarını da&#160;kullanarak sahip olduğu&#160;arşivdeki belgeleri kamuoyuna gösterme görevini yapmaktadır.&#160;</p><p>ŞEHİR Akademik Arşiv'de yer alan ancak hak sahiplerince&#160;veri tabanında&#160;gösterilmesi istenmeyen&#160;belgeler bulunduğu taktirde&#160; bu kişilerin&#160;tarafımıza yapacakları bilgilendirmeler dikkatle incelenecek ve&#160;belgenin kendisi kullanıma kapatılarak sadece belge ile ilgili bibliyografik&#160;veriler (metadata) kullanıma sunulacaktır.&#160;Halihazırda bu uygulama çeşitli belgeler için yapılmakta olup bu belgelerin yanlarında&#160;&#160;​<strong>kilit</strong>&#160;işareti bulunmaktadır ve bu belgelere erişim için özel olarak talepte bulunulması gerekmektedir.&#160;<a href="http&#58;//earsiv.sehir.edu.tr&#58;8080/xmlui/feedback">Bu linki </a>&#160;kullanarak bu&#160;konudaki taleplerinizi&#160;bize iletebilirsiniz.</p><p>Veri tabanından yararlanılarak yapılacak çalışmalarda ŞEHİR Akademik Arşiv'den yararlanıldığı bilgisinin de ilgili çalışmada gösterilmesi zorunludur.​<br></p><p style="color&#58;#333333;font-family&#58;&quot;helvetica neue&quot;, helvetica, arial, sans-serif;background-color&#58;#ffffff;"><br></p>

from react-native-render-html.

Exilz avatar Exilz commented on May 13, 2024

The href itself is the second argument on onLinkPressed, please read the docs.

Since you can log the event, I assume everything is working properly.

from react-native-render-html.

FrK492 avatar FrK492 commented on May 13, 2024

thanks.

I didn't notice that href is the second argument. I solved the problem by passing that url to Linking.openURL.

from react-native-render-html.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.