TinyMCE Editor to work for Mobile.
Simple fix to get the tinymce editor to work for Description ( Textarea ) for mobile view.
/oc-includes/osclass/functions.php
line 1352
<script type="text/javascript">
tinyMCE.init({
selector: 'textarea[name^="description["]',
width: "100%",
height: "400px",
language: 'en',
theme_advanced_toolbar_align : "left",
theme_advanced_toolbar_location : "top",
plugins : [
"advlist autolink lists link image charmap preview anchor",
"searchreplace visualblocks fullscreen",
"insertdatetime media table paste autoresize"
],
change to
<script type="text/javascript">
tinyMCE.init({
selector: 'textarea[name^="description["]',
theme: 'silver',
mobile: {
theme: 'mobile',
plugins: 'autosave lists autolink',
toolbar: 'undo bold italic styleselect'
},
width: "100%",
height: "400px",
language: 'en',
theme_advanced_toolbar_align : "left",
theme_advanced_toolbar_location : "top",
plugins : [
"advlist autolink lists link image charmap preview anchor",
"searchreplace visualblocks fullscreen",
"insertdatetime media table paste autoresize"
],
Tested and Works ! with Osclass 8.2