Bom gente, já li a respeito de problemas como o meu, mas não explicam com detalhes a resolução do mesmo.
Problema: Eu consigo salvar no banco o texto pelo fckeditor, contudo na hora de exibir o texto salvo não aparece nada, o campo fica em branco.
Alguem tem uma idéia, por favor, preciso concluir essa iteração no meu trabalho... Valeu.
<FCK:editor id="resumo" basePath="/portal/FCKeditor/" height="300" width="95%" toolbarSet="EditorPortal"
imageBrowserURL="/FCKeditor/editor/filemanager/browser/default/browser.html?Type=Image&Connector=connectors/jsp/connector"
linkBrowserURL="/FCKeditor/editor/filemanager/browser/default/browser.html?Connector=connectors/jsp/connector">
</FCK:editor></td>
<SCRIPT LANGUAGE="JavaScript">writeSource("js18");</SCRIPT>
<script type="text/javascript">
function setEditorValue( instanceName, text )
{
// Get the editor instance that we want to interact with.
var oEditor = FCKeditorAPI.GetInstance( instanceName ) ;
// Set the editor contents.
oEditor.SetHTML( text ) ;
}
function getEditorValue( instanceName )
{
// Get the editor instance that we want to interact with.
var oEditor = FCKeditorAPI.GetInstance( instanceName ) ;
// Get the editor contents as XHTML.
return oEditor.GetXHTML( true ) ; // "true" means you want it formatted.
}
</script>