Cannot eliminate WYSIWYG editing from textarea

All ApPHP DataGrid script bugs discussion. Questions and requests here.
Please, use a $debug_mode = true; before you say "Why Nothing Works ?!" (solves 90% of all issues)

Moderators: ne_moj, zewa, vadimako, ne_moj, zewa, vadimako

Buzz Brown
Senior
Senior
Posts: 41
Joined: Apr 18th, '10, 09:47
Location: Auburn Hills, MI

Cannot eliminate WYSIWYG editing from textarea

Postby Buzz Brown » Jul 14th, '15, 15:09

I am using version 7.9.9 and trying to implement "simple" for a textarea. No matter what we do we continue to get the WYSIWYG text editing dialog box in edit mode.

"type"=>"textarea", "edit_type"=>"simple"

administrator
Site Admin
Site Admin
Posts: 5990
Joined: Jan 7th, '09, 23:18
Contact:

Re: Cannot eliminate WYSIWYG editing from textarea

Postby administrator » Jul 20th, '15, 18:02

Do you mean 'edit_type'=>'simple', doesn't affect?
Please show us how did you define your field

Buzz Brown
Senior
Senior
Posts: 41
Joined: Apr 18th, '10, 09:47
Location: Auburn Hills, MI

Re: Cannot eliminate WYSIWYG editing from textarea

Postby Buzz Brown » Jul 21st, '15, 11:55

We are using MySQL. The field was defined as a 'text' type.

administrator
Site Admin
Site Admin
Posts: 5990
Joined: Jan 7th, '09, 23:18
Contact:

Re: Cannot eliminate WYSIWYG editing from textarea

Postby administrator » Jul 22nd, '15, 19:18

You have to define 'textarea'

'FieldName_2' =>array('header'=>'Name_B', 'type'=>'textarea', 'req_type'=>'rt', 'width'=>'210px', 'title'=>'', 'readonly'=>'false', 'maxlength'=>'-1', 'default'=>'', 'unique'=>'false', 'unique_condition'=>'', 'visible'=>'true', 'on_js_event'=>'', 'edit_type'=>'simple', 'resizable'=>'both|horizontal|vertical|none', 'upload_images'=>'false', 'rows'=>'7', 'cols'=>'50'),

Buzz Brown
Senior
Senior
Posts: 41
Joined: Apr 18th, '10, 09:47
Location: Auburn Hills, MI

Re: Cannot eliminate WYSIWYG editing from textarea

Postby Buzz Brown » Jul 22nd, '15, 20:08

In the original post you will see that we are using "type"=>"textarea", "edit_type"=>"simple" in the ApPHP grid tool. It still comes up as WYSIWYG. When you asked "Please show us how did you define your field" we thought you were referring to the database field itself which is "text".

Buzz Brown
Senior
Senior
Posts: 41
Joined: Apr 18th, '10, 09:47
Location: Auburn Hills, MI

Re: Cannot eliminate WYSIWYG editing from textarea

Postby Buzz Brown » Jul 30th, '15, 13:21

We are still unable to get the WYSIWYG turned off. Any ideas? This is a real problem because just saving a record inserts <p></p> tags in every text field.

administrator
Site Admin
Site Admin
Posts: 5990
Joined: Jan 7th, '09, 23:18
Contact:

Re: Cannot eliminate WYSIWYG editing from textarea

Postby administrator » Jul 31st, '15, 08:09

Show us this issue online on yuor site.


Return to “ApPHP DataGrid {bugs}”