http://www.freerichtexteditor.com/
demo: http://www.freerichtexteditor.com/index.php?inc=demo/index
Teraz jest problem.
Edytor wywołuje się w ten sposób:
Kod
<form method="get">
<!-- Include the Free Rich Text Editor Runtime -->
<script src="../js/richtext.js" type="text/javascript" language="javascript"></script>
<!-- Include the Free Rich Text Editor Variables Page -->
<script src="../js/config.js" type="text/javascript" language="javascript"></script>
<!-- Initialise the editor -->
<script>
initRTE('<i>This is some <b>preloaded</b> content</i>', 'example.css');
</script>
<input type="submit">
</form>
<!-- Include the Free Rich Text Editor Runtime -->
<script src="../js/richtext.js" type="text/javascript" language="javascript"></script>
<!-- Include the Free Rich Text Editor Variables Page -->
<script src="../js/config.js" type="text/javascript" language="javascript"></script>
<!-- Initialise the editor -->
<script>
initRTE('<i>This is some <b>preloaded</b> content</i>', 'example.css');
</script>
<input type="submit">
</form>
gdzie:
Kod
<script>
initRTE('<i>This is some <b>preloaded</b> content</i>', 'example.css');
</script>
initRTE('<i>This is some <b>preloaded</b> content</i>', 'example.css');
</script>
jest już samym edytorem.
Jak zrobić aby
Kod
<script>
initRTE('<i>This is some <b>preloaded</b> content</i>', 'example.css');
</script>
initRTE('<i>This is some <b>preloaded</b> content</i>', 'example.css');
</script>
było przesyłane w tablicy $_POST ?