For example, look at the input section in this image.

would I be right in saying, I need an embedable wysywig editor for this? Any suggestions? thanks
Moderator: General Moderators

thanks for that... I've found one called http://xstandard.com/. Lite version is free and it seems to be very standards compliant. Got it working, just trying to figure out how to use alternate external css files with it.WebbieDave wrote:Your image did not show properly. However, your hunch is correct (about using a js wysiwyg editor). You can save the resulting html into the db. There are several free js wysiwyg editors our there. Just google away.
Code: Select all
<object type="application/x-xstandard" id="editor1" width="100%" height="400">
<param name="Value" value="<?php echo htmlspecialchars($content, ENT_COMPAT) ?>" />
[color=#BF00FF] <param name="CSS" value="http://localhost.localdomain/styles/paul.css" />[/color]
<textarea name="alternate1" id="alternate1" cols="60" rows="15">
<?php echo htmlspecialchars($content, ENT_COMPAT) ?></textarea>
</object>