<div class="row mb-3">
  <div class="col-lg-3 col-md-4">

    <?php
    if ($field_title !='') {
      ?>
      <label class="d-block mb-0" for="<?php echo $field_id ?>"><?php echo $field_title ?></label>
      <?php
    }
    if ($field_subtitle !='') {
      ?>
      <small><?php echo $field_subtitle ?></small>
      <?php
    }
     ?>
  </div>
  <div class="col-md-8">
    <div class="form-group">
      <textarea  id="<?php echo $field_id ?>" name="<?php echo $field_id ?>"  class="<?php   if ($field_plugin == true) { echo $field_id ;   } ?> form-control" rows="3" <?php   if ($field_required == true) { echo 'required' ;   } ?>><?php echo $form_value ?></textarea>
      <?php if ($field_desc !='') {
        ?>
        <small><?php echo $field_desc ?></small>
        <?php
      } ?>
    </div>
  </div>
</div>
<script type="text/javascript">
$(document).ready(function() {
  $('.<?php echo $field_id ?>').richText({

      // text formatting
      bold: true,
      italic: false,
      underline: false,

      // text alignment
      leftAlign: false,
      centerAlign: false,
      rightAlign: false,
      justify: false,

      // lists
      ol: false,
      ul: false,

      // title
      heading: true,

      // fonts
      fonts: false,
      fontColor: true,
      backgroundColor: true,
      fontSize: true, 

      // uploads
      imageUpload: false,
      fileUpload: false,

      // media
      videoEmbed: false,

      // link
      urls: true,

      // tables
      table: false,

      // code
      removeStyles: true,
      code: true,

      // colors
      colors: [],

      // dropdowns
      fileHTML: '',
      imageHTML: '',

      // privacy
      youtubeCookies: false,

      // preview
      preview: false,

      // placeholder
      placeholder: '',

      // developer settings
      useSingleQuotes: false,
      height: 170,
      heightPercentage: 0,
      adaptiveHeight: false,
      id: "",
      class: "",
      useParagraph: false,
      maxlength: 0,
      maxlengthIncludeHTML: false,
      wordCount: false,
      callback: undefined,
      useTabForNext: true,
      save: false,
      saveCallback: undefined,
      saveOnBlur: 0,
      undoRedo: true,
      disableScripts: false,
      DOMPurify: false

  });
});
</script>
