⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Field Type - Rich Text Editor and Plain Textarea



Iszuddin Ismail

Iszuddin Ismail
  • profile picture
  • Member

Posted 03 March 2017 - 04:40 AM

I realize that when you have a field with the type TEXT, the rich text editor (TinyMCE) will appear. At times, I just want the plain <textarea> to appear. To do that I would use callbacks, making use callback_edit_field and callback_add_field.

 

And it is troublesome to have to make multiple callback functions for every field that I want it that way.

 

If there is an easier way, please let me know. Maybe I missed it. But if not, I would like to propose, the field_type() API function also includes the option of textarea.

 


titu

titu
  • profile picture
  • Member

Posted 04 March 2017 - 03:20 AM

unset_Texteditor does exactly that.

http://www.grocerycrud.com/documentation/options_functions/unset_texteditor


fernejeter

fernejeter
  • profile picture
  • Member

Posted 28 September 2020 - 08:27 AM

 

can u provide some details what exactly u cant implement?