17488 Posts in 4473 Topics by 1978 members
| Go to End | Next > | |
| Author | Topic: | 37920 Views |
-
Idea: Form editor in TinyMCE

10 July 2007 at 10:36am
Hi,
I was thinking about to create user forms inside TinyMCE, instead of by the UserDefinedForms. I have already found some TinyMCE plugins:
http://sourceforge.net/tracker/index.php?func=detail&aid=1662152&group_id=103281&atid=738747
http://sourceforge.net/tracker/index.php?func=detail&aid=1641859&group_id=103281&atid=738747But I am not a javascript programmer to see, how it is difficult. Also, SS uses old modified version of TinyMCE. Would it be easy to upgrade to the current version? What do you think about this idea?
Thanks
Andy -
Re: Idea: Form editor in TinyMCE

10 July 2007 at 12:33pm Last edited: 10 July 2007 12:34pm
Does anyone know how much SS's TinyMCE been modified? It seems a bit hard to tell since I don't know where to get another copy of the old TinyMCE (2.0.2, I think) to do a diff on.
$excuse = 'I just have to try the forum code formatting';
if ($peopleListening == true) {
echo("I'm writing this because $excuse");
} -
Re: Idea: Form editor in TinyMCE

10 July 2007 at 1:41pm
One is downloadable here
http://plone.org/products/tinymce/releases/0.90.2.0.2/tinymce-0-90-2-0-2.rar
go to TinyMCE/skins/tinymce. There's a bunch of changes, and
<cite>
Complex JavaScript like this is what makes me lock my doors at night, so I might stick to the PHP
</cite> -
Re: Idea: Form editor in TinyMCE

10 July 2007 at 1:52pm
There's a bunch of changes, and
<cite>
Complex JavaScript like this is what makes me lock my doors at night, so I might stick to the PHP
</cite>Yeah, I have a short memory. One of these days I'll learn..
-
Re: Idea: Form editor in TinyMCE

10 July 2007 at 2:05pm
I just meant your sentence for myself, if you do not lock your door at night anymore, go ahead
-
Re: Idea: Form editor in TinyMCE

11 July 2007 at 10:02am
The TinyMCE changes are all commented in the source code. I attempted to update TinyMCE a while ago (we were originally using a 2.0 pre release version), but I only managed to update it to 2.0.2, as 2.0.3 and above had too many changes that would require rewriting much of the custom code we wrote to integrate it with SilverStripe.
-
Re: Idea: Form editor in TinyMCE

11 July 2007 at 10:35am
Yeah I noticed there are about 72 changes marked as SilverStripe, although most of them are in one file.
In any case I'm going to give it a go when I have the time, even if just for educational purposes. After all, for the end use the WYSIWYG really is the core of the system.
-
Re: Idea: Form editor in TinyMCE

12 July 2007 at 9:03am
Getting back to the original post, what do you want support for forms in the editor for anyway? With the userdefinedform you get automatic saving to the database, email send outs, etc
| 37920 Views | ||
| Go to Top | Next > |




