I want to use TinyMCE rich text editor for my iOS app that I wrote in Swift.
I want to access self-hosted locally from xCode with tinymce.min.js.
I did everything according to the guide but style and javascript is not working, i am only displaying a textbox without toolbar.
I would appreciate it if anyone who has installed it before can help.
NOTE: it works when I try with api key. But I want to run it via xCode not via url
Code like below:
<!DOCTYPE html>
<html>
<head><!-- Get TinyMCe Cloud -->
<script src="js/tinymce/tinymce.min.js"></script>
<script>
tinymce.init({
selector: 'textarea',
theme: 'silver',
mobile: {
theme: 'mobile',
plugins: 'autosave lists autolink',
toolbar: 'undo bold italic styleselect'
}
});
</script>
</head>
<body>
<textarea>Now go get a free trial of our Premium Plugins!</textarea>
</body>
</html>