26

Re: What should we focus on in the future development of TinyMCE

archimede wrote:
steveholt wrote:

And I will build the style editor, unless anyone knows where I can find one?

Not sure what you mean here: are you perhaps looking for something like this?

Thanks. No I meant a web client based one, to complement TinyMCE.

Steve

27

Re: What should we focus on in the future development of TinyMCE

speednet wrote:

8. Better CSS style support (having a style inspector, XML config for styles)

I would like to be able to dynamically switch the content stylesheet.  This would be used to allow a user to select from a set of available stylesheets to apply to the content.  Some might define the same class names to provide alternative renderings of the same content, others might provide a completely different set of styles such that the user would need to re-style the content.  Providing for the selection of the stylesheet within the editor would only be useful if the setting could be retrieved for inclusion in a hidden field - but as long as the stylesheet can be specified via a script then this would be fine.

With regards to the comment quoted above, what is gained from an XML configuration file for styles?  Yes, you might be able to encode information concerning how to apply the style elements, but in terms of flexibility it is much more interesting to me to be able to offer a bunch of different stylesheets without having to go and recode every one as an xml file as well.  This is one of the things that turns me off FCKeditor.

How about using annotations in a regular css file to provide any additional information?  If they are not present then the editor could make the best guess as to what to do, but if so the editor can use them to deliver a better result.

I'll post the basic dynamic switching of stylesheets concept as a feature request on sf.net.

Thanks,

Scott

Last edited by seade (2005-08-05 06:32:31)

(a.k.a. monkeybrain)

28

Re: What should we focus on in the future development of TinyMCE

CrystaLizeD wrote:

well i would like that when you press "ENTER" it makes a BR rather than a P. So that there's no double spacing...

Can't this already be done by putting the following in the init?

force_br_newlines : true

A much better alternative would be to change your css to remove the margin/padding from P tags if you don't want a double space. (But then again, I'm a big proponent of content/presentation seperation...)

29

Re: What should we focus on in the future development of TinyMCE

Support for Opera browser...

plugin for body tag.

Better explanation on how to write your own Plugins.
I am not quit experienced in programming (just have done some easy php stuff), but an example on how to insert hello world tekst, should give an easier start to write an own plugin, maybe then i get the _template example working.....(now i dont even get a button in my menu)

Furthermore: this is a real great script.......best i have seen.

30

Re: What should we focus on in the future development of TinyMCE

Hi,

I don't know if this is a practical idea but I would really like to see the language support split up into, say, a separate folder. Each time I update TinyMCE I have to go through all the folders for themes and plugins and remove the additional languages. It would also be good, I think, not to necessarily bundle all plug-ins with the download but this is not really a problem.

I don't know if these are good ideas but I feel that anything to streamline the whole system and make it smaller is good. It takes quite some time to upload the whole TinyMCE system (as downloaded) to the server. It went from 3.9mb, with all languages, plug-ins etc, to 1mb stripped down.

The other thing I really hope to see improved is LOAD SPEED. It's not critical but it is definitely noticeable and I have had comments on it.

Keep up the great work!

Many thanks,
Galen

Lucid Design
www.luciddesign.co.nz

website design and hosting, graphic design, photography, advertising, marketing...

31

Re: What should we focus on in the future development of TinyMCE

Just to throw my 2 cents in.

I really would like to echo the sentiments of the previous posters vis a vis style selection. It really is hit or miss (most often miss). Yes, if I author content directly in the editor, then it is quite stable. The area where it really lets down is when you cut and paste from another source. Sometimes selecting a style when the cursor is at the beginning of the sentance will apply the style to the whole paragraph. Sometimes, nothing will happen. Also, highlighting a paragraph and selecting a style will sometimes work, but most often not.

Someone made a great comment that users using Tiny are worried about inputting data, not selecting styles. With that in mind, it would be great if at the page level, a user could select that they would use a particular style. Then each and every <p> or <td> element would default to that style, unless a user wanted to change it. At least for me, I use really only 2 or 3 styles within the content area (the rest being within top nav, footers, and sidebars which users don't need to control directly).

One thing that would be a huge help to Tiny is the ability to define at a global level the doctype declaration that your site supports, then present validation/cleanup functionality based on that selection. Certainly, some users have figured out a way of including xhmtl field validation, but it would probably be better to bring this into the core app rather than a big 250 line declaration in your html.

Also, as users can quite often delete stuff that they shouldn't, it would be great if you could implement a tag that told Tiny where to start and stop. Everything in between Tiny would stream to the applet, everything outside a user wouldn't see (except for preview).

I also agree with a previous poster who mentioned the HTML view. It would be a great idea to allow users to toggle their view inline. The current html pop up window is far too small to be useful (ie you have to manually resize before you can really view the code).

Really big fan of TinyMCE. Hope these comments weren't construed as complaints! Keep up the great work.

Geoffrey

32

Re: What should we focus on in the future development of TinyMCE

Create a button to upload Flash files as well as standard images. I use Mambo Ver 4.5.2 and real problems here with regards flash upload. Just read the mambo newsgroups and you'll find out I'm not on my own.

33

Re: What should we focus on in the future development of TinyMCE

seade wrote:
speednet wrote:

8. Better CSS style support (having a style inspector, XML config for styles)

How about using annotations in a regular css file to provide any additional information?  If they are not present then the editor could make the best guess as to what to do, but if so the editor can use them to deliver a better result.

I also use a commercial editor that uses non-standard css properties to do this sort of thing (these are ignored by user agents) and it works really well.  An example is that they use a "visible" property to hide an included style from the editor - e.g. MsoNormal can be hidden thus:

p.MsoNormal {
    visible: false;
}

I would prefer to see a namespace qualifier, e.g:

p.MsoNormal {
    tinymce-visible: false;
}

There is no reason why you couldn't do things like:

.myBorderStyle {
    tinymce-applies-to: p,li,div;
    tinymce-keep-word-class: true;
    border: 1pt solid black;
}

"tinymce-applies-to" could be used to adjust the list of styles presented to users when editing content.
"tinymce-keep-word-class" could be used to retain the class attribute when content is pasted in from Word.

No doubt there would be other interesting annotations that could be encoded via css properties.

I reiterate my opinion that annotation of style files is a better alternative to xml files as it allows a single file to deal with these issues rather than requiring an xml file to be maintained in parallel to the css file.

Scott

(a.k.a. monkeybrain)

34

Re: What should we focus on in the future development of TinyMCE

spocke wrote:

It's hard to know what people want in future releases of TinyMCE. So I made a poll out of some of the key features I would like to add.

I have been testing many WEB Based Editors and the most important thing as always has been stable performance. TinyMCE although is full of advanced features it lacks stability, so it may not be used on any production site. Please correct all tiny bugs and lunch a full-featured web tests to confirm that you did not miss any errors.

TinyMCE is certainly mature enough so new features should come only  after a very stable version is released. (look at FCK EDITOR – it was never released stable )

35

Re: What should we focus on in the future development of TinyMCE

Hmm, TinyMCE is now days released as with RC:s until I think it's stable enough to call it stable. TinyMCE will never be 100% stable nor will any other edtior be since some bugs are browser issues and not bugs within TinyMCE. I have already made numerous workarounds for browser bugs and issues.

Setting up a test suite for a browser based editor is very hard since it can not be automated. If it where a server application or API I could simply setup a unit test for it but since may bugs are only produced is a user clicks in specific ways etc. sad

But if there are users out there that would like to help me to beta test TinyMCE please let me know. We could then setup some form of beta test program, it's getting harder and harder for me to test all sorts of configuration combinations a user can have.

Best regards,
Spocke - Main developer of TinyMCE

36

Re: What should we focus on in the future development of TinyMCE

The great thing about open source is that if you find a bug that you need fixed you can actually do something about it.  I am in the process of switching an application over from a proprietary ActiveX control based editor to TinyMCE - TinyMCE does not do everything I need, but I reckon I can make it do what I need (and if I couldn’t do it myself then I imagine it would be affordable for me to pay someone else to do it).

As a user and a contributor of bug reports and patches what I would like to see is better use of the available development tools.  If cvs was kept up to date it would be possible for some people to run the HEAD version and thus provide more continuous feedback as to the state of the application.  It is hard for someone to contribute a patch to 2.0-rc3 when it is not in cvs and it is impossible to know if an issue I think may need to be reported has already been addressed when changes are not committed as they are done (i.e. between releases).  It would also be good it the bug tracker was configured correctly to allow reporters to specify the version they are using.  Regular examination of submitted bugs and patches is a great feedback mechanism and since these people have gone to the trouble of reporting issues and even contributing fixes they should really be encouraged.

Ultimately the decision to cut a stable release should be more open to scrutiny – if it is possible to easily see the open issues that are being targeted for a release then people will have more confidence that the significant issues are being dealt with.  A more sophisticated issue tracker such as Jira could facilitate this, but I guess the “pending” status in the SF bug tracker could also be used for this purpose.

I really like TinyMCE.  I wrote my second plugin today (liststyle - provides a button that allows you to set the list-style-type CSS property on lists) that I will submit via SF shortly.

Keep up the good work,

Scott (aka monkeybrain on SF)

(a.k.a. monkeybrain)

37

Re: What should we focus on in the future development of TinyMCE

seade wrote:

I would prefer to see a namespace qualifier, e.g:

p.MsoNormal {
    tinymce-visible: false;
}

There is no reason why you couldn't do things like:

.myBorderStyle {
    tinymce-applies-to: p,li,div;
    tinymce-keep-word-class: true;
    border: 1pt solid black;
}

"tinymce-applies-to" could be used to adjust the list of styles presented to users when editing content.
"tinymce-keep-word-class" could be used to retain the class attribute when content is pasted in from Word.

No doubt there would be other interesting annotations that could be encoded via css properties.

I would definitely cast my vote against any non-standard CSS or HTML attributes.

There are many of us who develop our web sites to the exacting W3C standards, and include the validation buttons on our sites to demonstrate our compliance with W3C standards, including XHTML, CSS, and even RSS standards.

Any non-standard CSS entries would break compliance, and would turn off a good many developers here.

On other matters mentioned in this thread:

- Putting language packs in one place would be excellent for maintenance, but would affect plug-in development and deployment, so it needs to be thought-out.  The concept of one resource pool for all modules is used by other major frameworks (like DotNetNuke), so it is certainly feasible.

- There was mention a while back about a .NET version of the compressed loading (GZIP) routines - is that still on the agenda?  That would help solve download times for us .NET junkies big-time!  Without such compression, load-time is becoming a big issue.  As the features get better and better, load time is going up and up.

- I'd love to hear from TinyMCE on where things stand as far as development of standard DHTML popup functionality.  First of all if it is on the agenda at all, and if so, what is the plan?  Getting rid of popup windows altogether will be a great big step -- something I'd love to see.

Lastly, I'd echo others who mentioned that all comments are intended as constructive, and not critical at all.  In my book, TinyMCE really is the best overall solution for content editing, and I'm constantly amazed at the talent of the developers.

38

Re: What should we focus on in the future development of TinyMCE

speednet wrote:

I would definitely cast my vote against any non-standard CSS or HTML attributes.

There are many of us who develop our web sites to the exacting W3C standards, and include the validation buttons on our sites to demonstrate our compliance with W3C standards, including XHTML, CSS, and even RSS standards.

Any non-standard CSS entries would break compliance, and would turn off a good many developers here.

The CSS specification actually allows for this.  The Declarations and Properties section indicates that user agents must ignore a declaration with an invalid property name, so the inclusion of an invalid property name will have no impact on conforming user agents.  The Rules for handling parsing errors section includes more information on this.

I agree that the inclusion of an invalid (illegal) property name will not strictly be a valid style sheet, but nobody would be forcing you to you to use them.  If someone (such as me) was happy to use them then they would be free to do so.  If someone did not want to use them (or was required to produce strictly valid style sheets) then they should not use them.  The latter people would need to come up with some other means of concealing style sheet class names.

I agree also that application of the applicable w3c standards is the way to go, however the authors of the CSS specification have had the foresight to define exactly how to handle illegal values and this flexibility effectively provides for annotations.  Whether or not you use (or abuse) the specification in this manner is up to you.  My assertion is that the use of an invalid property name is the most effective way of achieving the desired result, namely a way of communicating to TinyMCE that a class name should not be offered for selection.  In addition to this it would be a simple matter to introduce a TinyMCE configuration property that enables or disables (the default) this behaviour.

Scott

(a.k.a. monkeybrain)

39

Re: What should we focus on in the future development of TinyMCE

Let's just say we agree to disagree.  There are some people who take the approach you're specifying, and some who are very much against doing so.

40

Re: What should we focus on in the future development of TinyMCE

Firstly, TinyMCE is an excellent product.

But I can't insert unicode directly into database from TinyMCE. I mean that I would like to see what I type in TinyMCE (in unicode) in database.

41

Re: What should we focus on in the future development of TinyMCE

speednet wrote:

Let's just say we agree to disagree.  There are some people who take the approach you're specifying, and some who are very much against doing so.

As the CSS parser discards the illegal properties they never appear in the DOM and hence the outlined solution wil not work anyway.

So there is actually nothing to disagree about. smile

Scott

(a.k.a. monkeybrain)

42

Re: What should we focus on in the future development of TinyMCE

vVvVv wrote:
CrystaLizeD wrote:

well i would like that when you press "ENTER" it makes a BR rather than a P. So that there's no double spacing...

Can't this already be done by putting the following in the init?

force_br_newlines : true

A much better alternative would be to change your css to remove the margin/padding from P tags if you don't want a double space. (But then again, I'm a big proponent of content/presentation seperation...)

I think it is note the same as you using P tags and DIV! Toggle

force_br_newlines : true

inserts <BR> tags before Enter key is pressed but if you want to change align of current row you can't do it in MSIE cause align value will be implemented to all Block tag but in FF it works great! It could be fixed by adding DIV tags for every row.

vVvVv wrote:

A much better alternative would be to change your css to remove the margin/padding from P tags if you don't want a double space

But if you use this to create an Email the reciver could see such double space paragraphs it is AWFUL!

So I think it will be great to implement DIV functionality instead of simple BRs.

43

Re: What should we focus on in the future development of TinyMCE

BETTER DOCUMENTATION ON SETTING UP tinyMCE! .... Documentation needs improvement.  Dont believe it?... just read the forums and see all the questions regarding configuration. And what's with the ... "go read the docs ... figure it out yourself" reply's?  What the hell is the BB for then?

Don't get me wrong tinyMCE is a great editor but trying to get the thing to do what you want is trial and error because of the lacking documentation
of how to acutally do things with it. 

"That's my story and I'm stickin it to ya!"

44

Re: What should we focus on in the future development of TinyMCE

I think you'll find that most of the time when people say "look in the manual" it is usually IN THE MANUAL.  Another 30% of the time is usually caused by someone not taking the time to learn JavaScript, and they are requesting info on things that are clearly modifications to the source code.

I would agree with you about making some kind of "TinyMCE for Dummies" documentation IF it were for sale.  But it is free, so that means the developer needs to do a little homework, and not be spoon-fed all the answers.

It seems to me that the people who get the best response to questions on the forums are those who took the time to read thru the documentation BEFORE posting their question, so that they can get their simple questions answered (themselves) beforehand, and focus the discussion on things NOT covered by the documentation.

That's MY story.

45

Re: What should we focus on in the future development of TinyMCE

i would be happy have a plugin for inserting templates.
have a look to fckeditor to understand my wish.

46

Re: What should we focus on in the future development of TinyMCE

What about some AJAX driven Plugins..

e.g. Content Cleanups, search/replace, XHTML check(tidy), ...

47

Re: What should we focus on in the future development of TinyMCE

I agree -- in fact, I had mentioned it here:

http://tinymce.moxiecode.com/punbb/view … 5556#p5556

48

Re: What should we focus on in the future development of TinyMCE

First, I agree that because it's free the users aren't really allowed to nag.

But what is the target audience of tinyMCE ? Heavy scripters and programmers who want to hook it up to the database ? Or are designers and scriptkiddies with minimal coding skill also "allowed" to play with it?

The heavy users are not having that many problems, but the less-skilled (like me) are. I don't think it would hurt if there would be more examples and tinyMCE-for-dummies kind of information.

One of the reasons I use tinyMCE is because tinymce has a helpful forum (FCK editor does not) and because it's so easy to install (only 2 lines of code). AS far as I can tell, dummies are tinyMCE's target audience.

49

Re: What should we focus on in the future development of TinyMCE

Yes, our main focus is "normal" users not hackes. They tend to use a plain text area box anyway and hack in their own tags. smile

But it's hard for us to make the manuals "noob" friendly since we are developers our self. The best would be if someone less skilled wrote a how to.

But we have been thinking of adding more examples to the TinyMCE site and add a box below each example displaying the code the user needs to copy/paste in to their site to get the same results. But there is so much on our todo list, but it's in there some where. wink

Best regards,
Spocke - Main developer of TinyMCE

50

Re: What should we focus on in the future development of TinyMCE

Well, I could lend a hand if you'd like. As a designer I'm used to thinking from the normal user's perspective.