Input Field – tinymce

03/12/2018

You can use the tinymce input field to allow users to add content using the HTML editor. You can use only 1 tinymce field in each shortcode. See the below example about how you can use the tinymce input field.

Example

Copy to Clipboard

Parameters

    • type
      ( string ) input type.
      • heading
        ( string ) Setting title.
        • description
          ( string ) Short description about the setting field.
          • param_name
             ( string ) In order to use the tinymce editor in your add-on setting, you must set the param_name to “element_content”.
            • value
              ( string ) Default value to be set as default content.
              • placeholder
                ( boolean ) If you want to set the default content as placeholder text, set to TRUE else FALSE.