Hi,
I've successfully intergraded fckeditor 2.6.4 on a php mysql site.
The Problem is after saving, the editor displays all the html code instead of display wysiwyg format.
example:
i format this text and save: text
after saving and refreshing the page, i get this:
I've successfully intergraded fckeditor 2.6.4 on a php mysql site.
The Problem is after saving, the editor displays all the html code instead of display wysiwyg format.
example:
i format this text and save: text
after saving and refreshing the page, i get this:
<b>text</b>

Re: HTML is displayed instead of WYSIWYG after saving
and changed
FCKConfig.CleanWordKeepsStructure = false;
to
FCKConfig.CleanWordKeepsStructure = true ;
but it's still not working
Re: HTML is displayed instead of WYSIWYG after saving
http://www.fckeditor.net/forums/viewtopic.php?f=6&t=14264
Re: HTML is displayed instead of WYSIWYG after saving
you said to add the following code to the script:
if (isset($_POST['newspost'])) { echo '<pre>'; print_r($_POST); echo '</pre>';i'm a bit lost on where to paste the code.
My script looks something like this:
if (isset($_POST['tassk'])) { $task = $_POST['tassk']; } elseif (isset($_GET['tassk'])) { $task = $_GET['tassk']; } else { $task = "main"; } if (isset($_POST['cat_num'])) { $cat_num = $_POST['cat_num']; } elseif (isset($_GET['cat_id'])) { $cat_num = $_GET['cat_num']; } else { $cat_num = NULL; }thank you so much for helping!
Re: HTML is displayed instead of WYSIWYG after saving
echo '<pre>'; print_r($_POST); echo '</pre>'; if (isset($_POST['tassk'])) { $task = $_POST['tassk']; } elseif (isset($_GET['tassk'])) { $task = $_GET['tassk']; } else { $task = "main"; } if (isset($_POST['cat_num'])) { $cat_num = $_POST['cat_num']; } elseif (isset($_GET['cat_id']))Re: HTML is displayed instead of WYSIWYG after saving