I am hoping the second text editor is without tiny mce but the tinymce is still appearing how to delete it?
<!DOCTYPE html>
<html>
<head>
<script src="<?php echo site_url('assets/tinymce/js/tinymce/tinymce.min.js'); ?>"></script>
<!-- <script>tinymce.init({ selector:'textarea' });</script> -->
<script>
tinymce.init({
selector: 'textarea',
height: 200,
width: 600,
menubar: false,
plugins: [
'advlist autolink lists link image charmap print preview anchor',
'searchreplace visualblocks code fullscreen',
'insertdatetime media table contextmenu paste code'
],
toolbar: 'undo redo | insert | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image',
content_css: '<?php echo base_url('assets/tinymce/css/codepen.min.css'); ?>',
file_browser_callback: RoxyFileBrowser
});
function RoxyFileBrowser(field_name, url, type, win) {
var roxyFileman = '<?php echo base_url('assets/fileman/index.html'); ?>'
if (roxyFileman.indexOf("?") < 0) {
roxyFileman += "?type=" + type;
}
else {
roxyFileman += "&type=" + type;
}
roxyFileman += '&input=' + field_name + '&value=' + win.document.getElementById(field_name).value;
if(tinyMCE.activeEditor.settings.language){
roxyFileman += '&langCode=' + tinyMCE.activeEditor.settings.language;
}
tinyMCE.activeEditor.windowManager.open({
file: roxyFileman,
title: 'File Manager',
width: 800,
height: 400,
resizable: "yes",
plugins: "media",
inline: "yes",
close_previous: "no"
}, { window: win, input: field_name });
return false;
}
</script>
</head>
<body>
<textarea>Easy! You should check out MoxieManager!</textarea><br><br>
<textarea>I am hoping this one without tinymce</textarea>
</body>
</html>