Dave Schoorl wrote:
I have evaluated a number of web-based editors recently (including
htmlarea and xinha) but found TinyMCE and FCKeditor
(http://www.fckeditor.net/) to be the two top-editors currently
available. I would favor one of these two.
Tried to install it, and worked pretty ok.
I placed the following in a wizard xsl (from which I stripped all the
htmlarea code).
<xsl:template name="javascript-html">
<script type="text/javascript"
src="../tinymce/jscripts/tiny_mce/tiny_mce.js">
<xsl:comment>help IE</xsl:comment>
</script>
<script type="text/javascript">
<xsl:text disable-output-escaping="yes">
<![CDATA[
tinyMCE.init({
mode: "textareas",
editor_selector : "htmlarea",
theme : "advanced",
theme_advanced_toolbar_align : "left",
theme_advanced_path_location : "bottom",
theme_advanced_toolbar_location : "top",
theme_advanced_buttons1 :
"bold,italic,underline,strikethrough,separator,sub,sup,separator,bullist,numlist,separator,cut,copy,paste,undo,redo,separator,anchor,charmap,separator,code,cleanup,removeformat",
theme_advanced_buttons2 : "",
theme_advanced_buttons3 : ""
});
]]></xsl:text>
</script>
</xsl:template>
This creates one buttonbar at the top, with a small set of useful items.
Copy/paste still doesn't work in FF though.
Gomez
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers