Page 1 of 1

Textarea with tinymce

Posted: Mon Jan 02, 2012 4:17 pm
by zazzium
Hi, i have trouble with tinymce integration with textarea.

I added 'tinymce/jscripts/tiny_mce/tiny_mce.js'
and JavaScript

Code: Select all

tinyMCE.init({
		mode : "textareas",
		theme : "simple"
	});
The interface works, i can edit text (bold, italic, underline ..etc.),
but if i save, the textarea content is not saved (without tinymce the textarea works fine).
..any ideas?

Happy New Year to all

Re: Textarea with tinymce

Posted: Wed Jan 11, 2012 2:18 am
by admin
zazzium,

Sorry but we are not using tinyMCE any more we found a few problems with it

Steven

Re: Textarea with tinymce

Posted: Tue Jan 17, 2012 9:01 pm
by zazzium
I solved my problem simply by forcing the text to update after save

Code: Select all

$content = $_POST['mes_content'];
$sql = "UPDATE message SET mes_content = '$content'  WHERE mes_id = $recordID'";
nuRunQuery($sql);

Re: Textarea with tinymce

Posted: Wed Jan 18, 2012 1:19 am
by admin
Glad you could sort it out!