Fórumok

wysiwyg editor problem

giuseppe bianchetti, módosítva 15 év-val korábban

wysiwyg editor problem

Junior Member Bejegyzések: 32 Csatlakozás dátuma: 2008.07.15. Legújabb bejegyzések
ho il problema a ricare il contenuto html nel editor con questa funzione che era nella wiki:

<script type="text/javascript">
function <portlet:namespace />initEditor() {
return '<font style="font-weight: bold">scott was here</font>';
}

function <portlet:namespace />extractCodeFromEditor() {
var x = document.<portlet:namespace />fm.<portlet:namespace />htmlCodeFromEditorPlacedHere.value = window.<portlet:namespace />editor.getHTML();

alert(x);
}
</script>


penso il problema siano i caratteri tipo ' < > " etc etc

come avete risolto voi?