I’m currently trying to use tinymce with Ionic and have come across a strange problem. Displayed below is my index.html page. If I utilise it in this way then it works perfectly and I am given a tinymce textarea box to work with.
However, if I try to call it in any of my other html files then it doesn’t change the look/functionality of the tag.
Is there a way I should be calling it from within my other files?
Thanks!
<!DOCTYPE html>
<html>
<head>
<script src="tinymce/tinymce.min.js"></script>
<script>
tinymce.init({
selector: 'textarea'
});
</script>
</head>
<body ng-app="myApp">
<textarea>Easy (and free!) You should check out our premium features.</textarea>
<ion-nav-view></ion-nav-view>
</body>
</html>