ZTinyMCE in action This is my first release of ZTinyMCE. ZTinyMCE makes it easy to use TinyMCE, the best Open Source WYSIWYG editor in my opinion.

We at Fry-IT use this a lot for our websites as shown in the screenshots. The ZTinyMCE product works only with Zope2. Once you have it installed and you have created a ZTinyMCE instance in your root plus a ZTinyMCE Configuration object called "tinymce.conf" all you have to do to convert a plain page of HTML with textareas to a plain page of HTML with WYSIWYG textareas is this:

<script tal:replace="structure here/tinymce.conf">
</script>
Pablo Ziliani - 22 September 2006 [«« Reply to this]
This is a dream come true. I've been looking for something like this for years (particluarly after testing Epoz and Kupu).
Thanks a lot Peter! (and/or Fry-IT)
Pablo Ziliani - 22 September 2006 [«« Reply to this]
BTW, I think the package is lacking a license...
Peter Bengtsson - 22 September 2006 [«« Reply to this]
You're right. Thank you for pointing it out. The license is ZPL which is GPL based but more relaxed.
betabug - 04 June 2008 [«« Reply to this]
uhm.... ZPL is rather BSD based, not GPL... but anyway, it's definitely much more relaxed :-)
marc - 01 September 2009 [«« Reply to this]
I just wanted to let you know that there is a problem with ZTinyMCE when having two textareas in one form each with a different .conf file. Normal elements are not a problem but custom characters or smileys are always put into the first texterea field and therefore, sometimes into the wrong field.

Your product creates the follwing:

<script type="text/javascript" src="http://foobar.com/TinyMCE/tinymce/jscripts/tiny_mce/tiny_mce.js">
</script><script type="text/javascript">
tinyMCE.init({
mode:"textareas",
theme:"advanced",
editor_selector:"abstract_title",
[snip]
});
</script>

<script type="text/javascript" src="http://foobar.com/TinyMCE/tinymce/jscripts/tiny_mce/tiny_mce.js">
</script><script type="text/javascript">
tinyMCE.init({
mode:"textareas",
theme:"advanced",
editor_selector:"abstract_text",
[snip]
});
</script>

But it should be (at least I got it working properly like this):
<script type="text/javascript" src="http://foobar.com/TinyMCE/tinymce/jscripts/tiny_mce/tiny_mce.js">
</script><script type="text/javascript">
tinyMCE.init({
mode:"textareas",
theme:"advanced",
editor_selector:"abstract_title",
[snip]
});

tinyMCE.init({
mode:"textareas",
theme:"advanced",
editor_selector:"abstract_text",
[snip]
});
</script>

Two tinyMCE.init() within one single script. How can I achieve this with ZTinyMCE? Or am I completely wrong?

Regards,
Marc
betabug - 14 April 2011 [«« Reply to this]
Peter, http://www.fry-it.com/oss/ZTinyMCE seems to be gone? I'm trying to run ZTinyMCE on Zope 2.13 and am getting "ImportError: No module named WriteLockInterface", so I was looking if there is a newer version maybe.
Peter Bengtsson - 02 May 2011 [«« Reply to this]
Sorry, I've abandoned that project long ago. There is no new version available anywhere.
betabug - 02 May 2011 [«« Reply to this]
Too bad, we're still using it succesfully. I guess I'll keep a version around for me.


Your email will never ever be published