jaikumar1
8 years agoMentor
Rich Text Editor for mobile
Hi, We want to have the Rich Text Editor for a mobile device, and our site is mobile v1 version. So could you please guide me on how to get integrate the Rich Text Editor?
- 8 years ago
Here is the script which you need to add on a Mobile Post Page. You can create a custom component and add it to MobilePostPage.
<script src="https://cloud.tinymce.com/stable/tinymce.min.js"></script> <script>tinymce.init({ selector:'textarea' });</script>
Selector value should be the id or class of the Textarea on a Mobile Post Page. e.g .lia-form-body-input.lia-form-type-text
Documentation for rich text editor https://www.tinymce.com/docs/demo/full-featured/