We are using Telerik Platform, which runs on Cordova. We have dynamically pulled content from a CMS that shows some of our content in our app. Our authors want to put links in the content, but of course, I don't want them having to put an 'onclick' on the links in the Rich Text Editor in the CMS.
Is there a way to allow our authors to just enter links with a CSS class added to them or something like that, that I can capture the click, using jQuery or something, and have the link get translated in the Cordova app to open the "_system" browser.
I ultimately want my links to look like this for my authors to use when they enter them into the CMS:
But in the PhoneGap/Telerik Platform app, I want the link to open in the system browsers. Which currently it is not, it is opening in the current webview and locks the app into the webpage without any way of getting back.
I tried this so far but to no avail. It seems like the 'href' just triggers the browser to go and then the app gets caught in the webview browser and won't go back without force quitting the app.
It seems that the link that gets entered into the CMS just directs to the 'href' link and ignores the above jQuery. Any way to catch it before the webview catches it?