He conseguido hacer un pequeño WYSIWYG, ahora me faltaria un textarea interactivo:
PD: El codigo esta hecho en plan rapido
Código:
<html>
<head>
<title>Prueba</title>
</head>
<body>
<script>
function reemplazo()
{
textotemp = document.getElementById('texto').value;
textotemp = textotemp.replace('', '<b>');
textotemp = textotemp.replace('', '</b>');
document.getElementById('textomas').innerHTML = textotemp;
}
</script>
<form>
<textarea id="texto"></textarea>
<input type="button" onclick="reemplazo()">
</form>
<div id="textomas"></div>
</body>