*

Cecile Duvane

  • **
  • 20 posts
TinyMCE on custom field
« on: August 18, 2024, 01:11:27 AM »
I have an extra field called "additional information" and another one "company information". how to enable TinyMCE on both?

Thanks

*

MB Themes

Re: TinyMCE on custom field
« Reply #1 on: August 19, 2024, 10:20:55 AM »
@Cecile
If you go to oc-includes/osclass/functions.php

You may find code that generates tinymce here.
You may add new selectors

Code: [Select]
  <script type="text/javascript">
    tinyMCE.init({
      selector: 'textarea[name^="description["]',
      width: "100%",


ie.
Code: [Select]
  <script type="text/javascript">
    tinyMCE.init({
      selector: 'textarea[name^="description["], textarea[name="customtextarea"]',
      width: "100%",
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots