Page 1 of 1

WYSIWYG instead of textarea for front end users

Posted: Wed Jan 30, 2008 2:41 pm
by liudaz
Hey,

I would like a person, that is self registering, to have a wysiwyg editor instead of textarea.

The easiest way of doing this, would be to change the "false" parameter to "true" in action.default.php:

Code: Select all

CreateTextArea(true, $id, $val, 'input_'.$reln['name'], '', '', '', '', 40, 5);
The TinyMCE editor loads and i can input the data. The only thing, that the formated data gets stored wrongly.
For example, in the databe at the "properties" table, the text gets stored as
" <p> something </p> " instead of something. In other words, html code gets converted into text. Maybe anybody could suggest or surmise, what could be wrong?

One more issue, that could be connected with this problem. If i decide to use regular textarea, no text formating is applied. For example, if i put linebreaks, the text gets stored into databse like one line (becomes unformated).

Any comments would be appresiated.

Liudas

Re: WYSIWYG instead of textarea for front end users

Posted: Tue Oct 14, 2008 10:39 am
by faglork
BUMP!

Can anyone shed a light on this? It would indeed be a very interesting feature.

Cheers,
Alex

Re: WYSIWYG instead of textarea for front end users

Posted: Sun May 31, 2009 3:01 am
by sletts02
liudaz wrote: The TinyMCE editor loads and i can input the data. The only thing, that the formated data gets stored wrongly.
For example, in the databe at the "properties" table, the text gets stored as
" <p> something </p> " instead of something. In other words, html code gets converted into text. Maybe anybody could suggest or surmise, what could be wrong?
I too would like to know how I can fix this!

Re: WYSIWYG instead of textarea for front end users

Posted: Sun May 31, 2009 8:04 am
by Peciura