Wysiwyg for 1.0

General project discussion. NOT for help questions.

What wysiwyg among the latest svn-version would you most like to see as default in 1.0?

Poll runs till Sun Apr 26, 2043 12:12 am

FCKeditor
8
26%
TinyMCE
18
58%
Xinha
1
3%
XStandard
1
3%
Spaw
0
No votes
widgEditor
0
No votes
Cross-Browser Rich Text Editor
0
No votes
HTMLArea
0
No votes
openWYSIWYG
0
No votes
Other
0
No votes
Never used wysiwyg's
3
10%
 
Total votes: 31

User avatar
Silmarillion
Dev Team Member
Dev Team Member
Posts: 483
Joined: Sun Jan 02, 2005 9:10 pm

Wysiwyg for 1.0

Post by Silmarillion »

As this Poll clearly shows that TinyMCE is what people wants, I'll change this post to summarize, what suggestions you have for improvements.
Here goes:
  1. As much XHTML-compliance as possible turned on by default
  2. Linker-plugin should honer whatever pretty-url scheme is used
  3. Linker-plugin should only show active pages in the list (DONE, still showing pages hidden in menu, as you should be able to link to it)
  4. Possibly add snippets plugin for template-like functionality

Remind me if I forgot some ;-)

Best regards
Silmarillion

Initial Post:
Hello

There seems to be some different opinions as to what WYSIWYG-editor is best suited as the default for CMSms 1.0. So I just want to know which editor you have best experience with. Much work is being done in the svn-repository of most WYSIWYG-modules, so please check out those before deciding.

Best regards
Morten/Silmarillion
Last edited by Silmarillion on Mon Sep 04, 2006 3:48 pm, edited 1 time in total.
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm

Re: Wysiwyg for 1.0

Post by Russ »

I'm with TinyMCE (a late convert from FCKEditor) mainly because of the details listed here... and also some things which urgently need fixing : )

http://forum.cmsmadesimple.org/index.ph ... #msg34563

Russ
tsw
Power Poster
Power Poster
Posts: 1408
Joined: Tue Dec 13, 2005 10:50 pm

Re: Wysiwyg for 1.0

Post by tsw »

Markdown style would be my choice. it just needs a good toolbar with integration to imagemanager and so on.

just my 0.02€ ;)
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

Re: Wysiwyg for 1.0

Post by Ted »

Interesting results so far.

I was kind of leaning towards the thought of using tinyMCE as well.  Just for the fact alone that it works in Safari (well, at least it did last time I tried it).  It would make the downloads a heck of a lot smaller, that's for sure.
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm

Re: Wysiwyg for 1.0

Post by Russ »

Ted, I agree, but it will needs the fixes I outlined and perhaps others for it to work for most peeps...

Russ
User avatar
Silmarillion
Dev Team Member
Dev Team Member
Posts: 483
Joined: Sun Jan 02, 2005 9:10 pm

Re: Wysiwyg for 1.0

Post by Silmarillion »

Hi Russ

I agree that your suggestions are high priority... I'll have a look at it as soon as I have the time if noone else beats me to it. I think tiny is the best bet for 1.0 as well...

Hang on for some testing tomorrow ;-)

Best regards
Morten/Silmarillion
Pierre M.

Re: Wysiwyg for 1.0

Post by Pierre M. »

Hello, I have not tested any wysiwyg so I can't answer the poll. But as I think easy wysiwyg is a must have feature, I'd like to tell some of my opinion about it, to help devs priorities.

a)The wysiwyg should stay an option : power webmasters will not use it in some cases and must common editors will use it almost allways.
b)The "internal link" should stay integrated : it is cool to make a link to a page by choosing it in a structured list by its name or functional pretty alias. Moreover, when an alias is changed, all links to it should be updated accordingly. May be it is allready a feature ? (sorry, have not tried)
c)The wysiwyg should be easy for Joe Newbie Editor. So it should not have as many features as I have seen so far. Whatever wysiwyg component you choose is better, I think its featured should be restricted to KISS. For example, text is either an ordinary paragraph or one of only 3 levels of heading; The fonts and sizes can not be changed, they are designed by the designer in the CSS; May be colors too; etc...
The idea is to enforce the theme/design over all the pages even with "I don't mind I just copy/paste and change style my way" editors.

PM
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm

Re: Wysiwyg for 1.0

Post by Russ »

Yes pierrem, the internal page linking is in TinyMCE but is being revised, (I hope,) to take account of various url options. I'm with you, I'd like to see a very simple editor right out of the box, but TinyMCE is pretty easy to configure that way, It's just a pain to do it every-time. Seems to me it is much easier to start off with the basics and then people can add to it if they want.

In FCKEditor/TinyMCE I'd normally set one or two tool bars lines with separators, something like this:
+ Format (p,h3,h4,h5,h6,code,pre,no-format) #Note no h1 and h2 - usually used in templates
+ Style (Internal styles)
+ Cut, Copy, Paste, Past Word (and strip rubbish), Paste Text (just paste text).
+ Bold (), Italic ()
+ Subscript, Superscript
+ Unordered List (), Ordered List (), Horizontal Line ()
+ Special Characters, Smileys, Unformat
+ Undo, Redo, Find, Find/Replace
+ CMSMS Link, Link, UnLink, Anchor, Image
+ Spell Check, Tidy XHTML, View XHTML

I think the above should keep most people happy with some formatting, but not too much to ruin web creators designs? What do you think?

In addition I'd default the TinyMCE install to use the XHTML options.

Russ
chrisl
Forum Members
Forum Members
Posts: 57
Joined: Fri Dec 30, 2005 10:08 am

Re: Wysiwyg for 1.0

Post by chrisl »

For web designers/developers the choice of a WYSIWYG editor should be made in the light of their end-user's most likely needs.

FCK has one important feature that I have not found on Tiny: "templates" allowing the developer to design a range of simple templates for

insertion on to the page. This is particularly useful for companies listing a variety of products or,for example, estate agents showing a

range of properties, who typically need an image left/right, a short descriptive text, prices and a dividing rule between items; changes

need to made regularly and continuity of design is important. It is very easy for the inexperienced to use and understand and so there is

less chance of the site being broken.
(FCK downloads with "templates" as overwrite but it is very quick and simple to change this to insert or toggle overwrite/insert.) 

On the other hand as default for CMSMS, yes, FCK is a long time downloading/uploading.
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm

Re: Wysiwyg for 1.0

Post by Russ »

I agree about the templates I'll have a look at the TinyMCE forum....

I did find a TinyMCE plugin which allows you to do pasting of snippits.  I was thinking about pasting in the code for user defined plugins or modules or whatever e.g.
{cms_module module = "album"}

http://sourceforge.net/tracker/index.ph ... tid=738747

It is going to need a bit of work by somone who's knows javascript. Currently it will not accept the quotes for 'album' or '=' sign for the plugin example above. Of course reading what is installed and the default values would be good? Or perhaps just leave it to the web site creator?

UPDATE: A fix to do some of this:
To use the 'Tokens' (for module or other tags) you'd like to have in the list for insertion from a drop down list box in TinyMCE Editor,

a. Put the plugin in the plugin directory in the TinyMCE module folder - it's nested quite a way in... Go into TinyMCE admin and tick the 'token' plugin and add 'tokens' (minus the quotes) as a button to the toolbar, don't forget the commas if required. (This can all be pre-set.)

b. Edit 'editor_plugin_src.js' (plugin directory) in the function TinyMCE_tokens_getControlHTML(control_name)
alter

Code: Select all

key_val = tokens[i].split('='); 
and change to (double '==')

Code: Select all

key_val = tokens[i].split('==');

c. Edit 'editor_plugin.js' ( plugin directory) and find the line.

Code: Select all

{if(/=/.test(tokens[i])){key_val=tokens[i].split('=');contentTxt+='<option
and change to (double '==')

Code: Select all

{if(/=/.test(tokens[i])){key_val=tokens[i].split('==');contentTxt+='<option
d. Add this to the TinyMCE.module.php under
auto_reset_designmode : "true",

Code: Select all

tokens_token_list:"Insert Album Module=={cms_module module='album'}; Insert News Module =={cms_module module='news' sortby='news_date'}",
If it is not the last line it will need a comma at the end. You can add more 'tokens' if you wish.

Please note the change from the original with the double '==' and single quotes for around the variables.
This just shows minimal options for News and the Album modules. Edit a page and try it out. It will insert where you put the cursor.

I'm sure someone could make a better job of this, it's a bit out of alignment - but then so was the original? I'm pretty rubbish at JavaScript!

Enjoy,

Russ
Last edited by Russ on Wed Aug 23, 2006 2:40 pm, edited 1 time in total.
Pierre M.

Re: Wysiwyg for 1.0

Post by Pierre M. »

@Russ : I would have selected even less features but you got my point to "not ruin web creators' designs". Thanks. Cool.

@clorne : I agree the choice of the wysiwyg should be an end user's choice. But the devs can't integrate 5 wysiwygs end users can choose. It is overpain. It would be overweight too as current cms.tgz is already 2M. Please KISS. The wysiwyg is an option in a module. May be CMSms should ship with devs' choosed wysiwyg and users/admins would be free to hack/install other wysiwyg modules. (and free to tune the settings too, to prevent designers work vandalism ;)

PM
amygdela

Re: Wysiwyg for 1.0

Post by amygdela »

I think TinyMCE is perfect as it is already, with the CMSMS linksplugin it works great and loads 10x faster then FCK. No need for anymore updates to it IMHO.
Russ
Power Poster
Power Poster
Posts: 813
Joined: Fri Nov 25, 2005 5:02 pm

Re: Wysiwyg for 1.0

Post by Russ »

amygdela: Apart from it's link function doesn't yet support clean url's and it doesn't support templates for pages. there are others... otherwise I whole heartedly agreee ;-)

Russ
cyberman

Re: Wysiwyg for 1.0

Post by cyberman »

I'm wondering ... there's an explicit vote for TinyMCE.

But I cannot found this module in released Version 1.0  ??? ...
User avatar
Silmarillion
Dev Team Member
Dev Team Member
Posts: 483
Joined: Sun Jan 02, 2005 9:10 pm

Re: Wysiwyg for 1.0

Post by Silmarillion »

Hi cyberman

I hoped for TinyMCE, too, but Ted thought it was too late to replace such a thing for 1.0. Hopefully this happens very soo, so it's welltested for next version.

silmarillion
Post Reply

Return to “General Discussion”