TinyMCE + Zope = ZTinyMCE

01 June 2006   8 comments   Zope

http://www.fry-it.com/oss/ZTinyMCE

Powered by Fusion×

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>

Comments

Pablo Ziliani
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
BTW, I think the package is lacking a license...
Peter Bengtsson
You're right. Thank you for pointing it out. The license is ZPL which is GPL based but more relaxed.
betabug
uhm.... ZPL is rather BSD based, not GPL... but anyway, it's definitely much more relaxed :-)
marc
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
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
Sorry, I've abandoned that project long ago. There is no new version available anywhere.
betabug
Too bad, we're still using it succesfully. I guess I'll keep a version around for me.
Thank you for posting a comment

Your email will never ever be published


Related posts

Previous:
Weird spam? Or just a weird girl? 31 May 2006
Next:
Animator vs. Animation 08 June 2006
Related by keywords:
EditArea vs. CodePress 03 January 2008
A user-friendly TinyMCE config 08 October 2009
IssueTrackerProduct 0.7.2 released 22 May 2006
WYSIWYG inline HTML editors 25 July 2004
Grep in Jed 27 January 2004