sovware / directorist

Directorist, The World’s Most Complete WordPress Directory Plugin
https://directorist.com/
Other
40 stars 27 forks source link

WYSIWYG - Editor Support for Textarea Custom Field #1350

Open flossyfaysal opened 1 year ago

flossyfaysal commented 1 year ago

Directorist version

Latest Version

Environment

Updated.

Description

The description field is correctly working with WYSIWYG, but custom fields, even if they are textareas, cannot contain any kind of formatted text (everything is stripped down and sanitized to display text only), and this is a massive issue with the listing owners, given that they add tons of text into the textarea, but without any formatting, it is simply little use in the end. text areas

Steps to reproduce

  1. Directory Builder
  2. WISWYG exists for the description box.
  3. Add Custom Field Textarea
  4. WISWYG featured is not integrated into that field.

Isolating the problem

flossyfaysal commented 1 year ago

Use Case:

The actual need right now would be to add an image to the "Special offer" field, so that listing owners can write text in the textarea field "Special offer" (ideally with some formatting, as asked above), and also add an offer image next to it (e.g. if you are a restaurant offering 20% off to all fellow members of the directory, on all hamburgers, it is more attractive to have an image with a juicy, attractive hamburger with the text overlay "20% off" over it, and not simply the text provided in the textarea field).