1

Topic: TinyMCE 2.0RC3 Released

This release is probably the final RC for the 2.0 version of TinyMCE we expect the 2.0 final to be released pretty soon.

This release includes lots of bug fixes and some updated language packs. I give my thanks to everyone who contributed language packs, bug reports and feature requests to this project. You are realy helping us to make TinyMCE the one of the best open source editors on the net.

We have also focused some more on making TinyMCE more accessible, but I will post more news about this topic later on when the final version is released. We will also take another look at the Safari support before releasing the stable 2.0, the current RC is not as stable on Safari as the 1.x versions, but since Safari users are about 1% of the web users out there (www.thecounter.com) our main focus is still on MSIE and Firefox.

Regards
Moxiecode Systems AB

Best regards,
Spocke - Main developer of TinyMCE

2

Re: TinyMCE 2.0RC3 Released

Apart from the new problem with new table clean up in some HTML codes that I have reported in the SourceForge, I think the clean up / start up process is very slow for long HTML. I tried to disable clean up in init but the start up is still so slow. So probably the problem is not just clean up itself..

The other solution I see is to head for the server-side clean up. What do you think? Spocke?

3

Re: TinyMCE 2.0RC3 Released

I've been thinking of rewriting the whole cleanup process so it's more efficient. But cleanup of long HTML chunks will always be slow in javascript since it's a script language. But I guess a rewrite would make it a lot faster. A server side cleanup is alot better and safer too since then it would be impossible to "inject" elements that isn't valid. We have been thinking of adding a backend API for PHP and .NET. A PHP class and a .NET webcontrol but we haven't got around to do it just yet. Such backend logic could be equipped with a serverside cleanup routine compatible with the valid_elements format in TinyMCE and would be a lot more efficient since we could then SAX parse stuff etc.

Best regards,
Spocke - Main developer of TinyMCE

4

Re: TinyMCE 2.0RC3 Released

spocke wrote:

We will also take another look at the Safari support before releasing the stable 2.0, the current RC is not as stable on Safari as the 1.x versions, but since Safari users are about 1% of the web users out there (www.thecounter.com) our main focus is still on MSIE and Firefox.

Well, that might be true, but what that counter does not inform you about is the typical administrator in a WYSIWYG environment. In out experience this is more than 1%, I could atleast bump it to 5% without making a wrong accusations. OK, it's low, but it's still important not to forget theese people. Many people use TinyMCE in commercial software, and often clients sits on Mac in my experience.

However, how is the support for Mozilla on Mac? From what I understood support for this should be much better that Safari? Or have I misunderstood something here? If Mozilla works nice, then Safari isnt that important I would guess, most important is that we don't forget the mac users.

Mvh,
Kim Steinhaug
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
www.steinhaug.no - www.easywebshop.no - www.easycms.no

Last edited by Kim Steinhaug (2005-10-10 22:43:45)

5

Re: TinyMCE 2.0RC3 Released

Yes, TinyMCE works as good on Firefox on Mac OS X as it does on Windows at least a.f.a.i.k since I don't normaly use the Mac unless I test TinyMCE or other projects on it. But the main testing and development is done on Firefox on a PC with Windows XP and testing is always done in MSIE on PC aswell before we ship any release out.

Yes, the numbers increase if the business focus is on advertising agencies or some web companies that focus on design. But most of our customer base out side TinyMCE or the commercial plugins on this site tend to use MSIE. And there it's about 100% of our customers. smile But it's hard to tell how many of the TinyMCE users or the user base on systems that uses TinyMCE realy is.

If anyone have a big site that uses TinyMCE like a blog or something please send us some stats. smile

Best regards,
Spocke - Main developer of TinyMCE

6

Re: TinyMCE 2.0RC3 Released

I know you want patches via SF.  Can you please update cvs so that we can more easily provide patches against the latest code?  Tags for the release candidates would be good too.

Thanks,

Scott

(a.k.a. monkeybrain)

7

Re: TinyMCE 2.0RC3 Released

I would love to see a php API.  smile

8

Re: TinyMCE 2.0RC3 Released

Same here, would make it alot faster to user if the cleanup would be done serverside.

9

Re: TinyMCE 2.0RC3 Released

hstraf wrote:

I would love to see a php API.  smile

Sorry, I meant a php API for the entire tinyMCE system... not just for cleanup.  smile  We do our coding using PHP, so it's kind of annoying to output javascript all over the place.  Would be great to keep it in PHP and have some API do everything for us.

ie:

echo value_bold("true");
echo value_italics("false");

And then bingo... it would spit out the required javascript for making this happen...

10

Re: TinyMCE 2.0RC3 Released

hstraf wrote:

ie:

echo value_bold("true");
echo value_italics("false");

And then bingo... it would spit out the required javascript for making this happen...

umm... If you already do all in PHP creating your own quick PHP API wouldn't be to much work. You could easily create your own little tinyMCE class which takes care of all the JS config. Or, very simpliefied if all you need is to move the JS out of the PHP files, just move it into some functions library that you probably have with some "echo" statement. Atleast you have all the JS gone.

11

Re: TinyMCE 2.0RC3 Released

Kim Steinhaug wrote:
hstraf wrote:

ie:

echo value_bold("true");
echo value_italics("false");

And then bingo... it would spit out the required javascript for making this happen...

umm... If you already do all in PHP creating your own quick PHP API wouldn't be to much work. You could easily create your own little tinyMCE class which takes care of all the JS config. Or, very simpliefied if all you need is to move the JS out of the PHP files, just move it into some functions library that you probably have with some "echo" statement. Atleast you have all the JS gone.

I know we could do it.. but I'd rather have the coding done by the good folks from moxiecode, since then they would be responsible for maintaining it, updating it with new functions as they arrive, etc...

smile

12

Re: TinyMCE 2.0RC3 Released

Is there any way to push for a couple of patches to go into 2.0 final?

I would be grateful if 1323835 could be committed.  There are numerous other patches over on SF - will these be examined prior to 2.0 final?

Thanks,

Scott

(a.k.a. monkeybrain)

13

Re: TinyMCE 2.0RC3 Released

No, since this is a major change and will most likely not be stable in the first version I will not be able to include it in the 2.0 version. I could make some effort for it in 2.0.1. Anyway, I think this whole problem can be avoided by using the theme_advanced_styles option. If I where to make a more complex CSS handler I would need to rewrite lots of code since this parsing is somewhat complex. I should also move this into a own plugin or similar since the code will be quite large figuring out all possible combinations and so forth.

Use this for now, or make a timmed CSS for while editing and use your more complex CSS while presenting the page this is how we do it our selfs since complex CSS:es with floats and all kinds of custom things can break the editing experience.

http://tinymce.moxiecode.com/tinymce/do … tyles.html

Best regards,
Spocke - Main developer of TinyMCE

14

Re: TinyMCE 2.0RC3 Released

spocke wrote:

No, since this is a major change and will most likely not be stable in the first version...

Why don't you go on with Release Candidate 4, 5, 6,... until the 2.0 is stable enough before go for real 2.0 version.

15

Re: TinyMCE 2.0RC3 Released

Cause there is an unlimited amount of features that can be added, so no final would ever come out.

Final stable releases are needed for all the CMS systems out there that use TinyMCE, they need the stable versions for integration.

Afraithe
TinyMCE Developer
Moxiecode Systems

16

Re: TinyMCE 2.0RC3 Released

Only a small wish for now: I don't know wether I have missed the message somewhere on this site, but I would appreciate a "download stable version" aka 1.45 link somewhere on the download page as long as there is a release candidate on its way. Of course, I could go to sourceforge and have a look there, but as Afraithe said:

..., they need the stable versions for integration.

Good luck with final version 2.0, I loved the previous one.
Donadoni

Donadoni

17

Re: TinyMCE 2.0RC3 Released

spocke wrote:

No, since this is a major change and will most likely not be stable in the first version I will not be able to include it in the 2.0 version. I could make some effort for it in 2.0.1. Anyway, I think this whole problem can be avoided by using the theme_advanced_styles option. If I where to make a more complex CSS handler I would need to rewrite lots of code since this parsing is somewhat complex. I should also move this into a own plugin or similar since the code will be quite large figuring out all possible combinations and so forth.

The patch is not in fact very big and does not introduce any new features, it merely corrects a couple of problems - it brings the style sheet processing of Firefox closer to that of IE and it eliminates duplicate class names from the selection list (both bugs IMHO).  The other things that were mentioned are not addressed by the patch (either they not been implemented or cannot be implemented).  If the patch did anything more than I have described here I would certainly not be pushing for it to be included in 2.0 final.

Moving the CSS processing into a plugin is a good idea as it would make it easier for people to replace the code with something as simple or complex as they would like.  Ultimately I want to be able to control which style classes are presented depending on the selected element - no doubt only some people will want this so pushing it off into a plugin makes sense.

spocke wrote:

Use this for now, or make a timmed CSS for while editing and use your more complex CSS while presenting the page this is how we do it our selfs since complex CSS:es with floats and all kinds of custom things can break the editing experience.

The CSS I am dealing with is not in fact overly complex.  I can see that using a trimmed version of a style sheet while editing might solve some problems, but not I think the ones addressed by the patch.

This does not address the issues as elegantly as the patch.

Keep up the good work!

Scott

(a.k.a. monkeybrain)

18

Re: TinyMCE 2.0RC3 Released

spocke wrote:

I've been thinking of rewriting the whole cleanup process so it's more efficient. But cleanup of long HTML chunks will always be slow in javascript since it's a script language. But I guess a rewrite would make it a lot faster. A server side cleanup is alot better and safer too since then it would be impossible to "inject" elements that isn't valid. We have been thinking of adding a backend API for PHP and .NET. A PHP class and a .NET webcontrol but we haven't got around to do it just yet. Such backend logic could be equipped with a serverside cleanup routine compatible with the valid_elements format in TinyMCE and would be a lot more efficient since we could then SAX parse stuff etc.

spoke,

I was just re-reading this thread, and got to thinking that if you're going to write a server-side cleanup routine in PHP and .NET, you may be able to use AJAX to communicate with it.  Not sure if it's necessary, but it may come in handy if you wanted to do a cleanup without a round trip to the server.

19

Re: TinyMCE 2.0RC3 Released

One issue that continues to plague TinyMCE is the lack of a <!--pagebreak--> function.  Frankly, it is driving a great many people nuts and into moving to fckeditor or others that support this function by default. 

There are posts even here requesting help (where people are trying to create this function on their own) yet those posts are still open.  On top of that, solutions like Mambo have tried (hap-hazardly) to add the function in, but it is using an image type feature to pull this off and the function only works in one place designed specifically to look for that specific image tag to interpret it and convert it that way.

The bottom line is that 2.x should include a standard pagebreak button that would inject the code and be an allowable definition (if added as such).  To think that you folks could do all of these other functions but not create a standard pagebreak is just nutty.

Just my 2 cents

20

Re: TinyMCE 2.0RC3 Released

There is a Xaraya pagebreak plugin that allows users to click and insert the correct pagebreak code into their documents. As this would be application specific, it may be useful at least as code that you could use as an example to develop one for your own application.

Although many have found this xaraya plugin to be useful, it is more complex than it seems unless you can ensure that 'html unaware' users understand where the pagebreak should be inserted in their page.... or you make the plugin 'intelligent' to allow it to know where in the code it should go for proper markup (eg not between a set of <p></p> tags for example).

21

Re: TinyMCE 2.0RC3 Released

First of all I must say that TinyMCE is not a mambo plugin or any other CMS specific plugin so we only develop platform neutral logic not Mambo specific or Xaraya specific functions.

I will have to aggree with jojodee that this will have to be treated as a CMS specific implementation. If I where to add this as a base functionality for TinyMCE it would only be useful for systems using this approach to produce pages. In my oppinion is not a efficient and ideal solution anyway, it seems to be a quick and dirty hack. We did a simmilar thing for postnuke once. smile

And if we where to add this to the core it would have to be smart in two ways. It would need to be placed after paragraphs and out side tables so they don't break and they would need to be visible so users can remove them simmilar to the anchor elements. And that kind of functionality isn't done right within a coffe break.

I think the best way of doing this is to produce some kind of code snipplet plugin so it would be possible to inject any custom content within visible containers since diffrent CMS systems implement these page breaks or simmilar snipplets in diffrent ways. But this will have to wait for the 2.0.1 release, we must first get the 2.0 stable and out before adding more functionality stability is far more important than cool features.

Best regards,
Spocke - Main developer of TinyMCE

22

Re: TinyMCE 2.0RC3 Released

Very well said, Spocke.  I agree.  Keep tinyMCE as "core" as possible, because not everyone needs or wants bloated software with code that is not needed. 

It is also worth noting that the folks from Moxie are happy to develop any CUSTOM features if you really really needed something.  (http://tinymce.moxiecode.com/plugins.php - look for the "custom plugin development heading)

smile

23

Re: TinyMCE 2.0RC3 Released

To hstraf and Spocke, I couldn't agree more. A pagebreak function is cool, and in many cases a great function - if it works flawlessly. However as Spocke mentions, it isn't something I feel belongs in a WYSIWYG editor, since it needs to be treated serverside afterwards - which again makes it a CMS specific function. I remember I had a customer aswell who wanted this function, and referred to Mambo (note, i havnt checked mambo lately), and Mambo was superior for this functionality while my system (TinyMCE, FCKeditor, Xinha and htmlArea) was crappy since they lacked it. A fast test hower inserting the pagebreak within a table broke the design big time in Mambo, which in turn brings me to Spockes point that such a function needs some amazing logic which isn't buildt in a jiffy.

Sure, I would love such a functionality - but is it reasonable to expect it to appear in TinyMCE, or should we let the developers focus on the core itself. If we look at the typical user of a CMS (People like me who are looking for functions like pagebreak are, in my belief, all persons using the WYSIWYG in our CMS), so the typical user is a person who doesnt know alot about HTML, probably nothing (If he knew HTML, he would probably use raw HTML, BBcode or MarkDown for optimal control in theese XHTML days). So what does a typical webpage in a WYSIWYG rendered page look like? It could be one table surrounding the entire page which is, say 5 pages long, containing 4 pagebreaks.

This would mean that we would make the Moxiecode staff spend a heck of a lot of time for this "seemedly" easy plugin to accually rewrite the entire code of the page to work with the pagebreaks (Or this is probably where our own serverside system gets to work), we can't just do what Mambo did (again, maby they solved this lately, I havnt checked), assume that the person using the WYSIWYG is not using the plugin wrong - after all it's WYSIWYG so people tend to do alot of wrong things (Did I mention paste from word and other websites, even if told otherwise)...

Lately I have spent more and more time using TinyMCE, but I would like to share my 2 cents here to be sure that the development is going in the right direction, and not focusing on messy plugins which will hault the development unneccesary. After all the developers are doing a great job on this free tool, and it doesnt hurt if we support them once in a while instead of always demanding new functionality all the time. Finally, as hstraf mentioned, if you really like this plugin to surface the people at Moxiecode will more than happy (ugh... As George Carlin mentions this is a pretty meaningless condition, hehe) spend time developing it for you if you are willing to pay for it.

Looking forward for the next release of TinyMCE, I will need to upgrade alot of users again... Keep up the good work big_smile

Mvh,
Kim Steinhaug
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
www.steinhaug.no - www.easywebshop.no - www.easycms.no

24

Re: TinyMCE 2.0RC3 Released

how long until we can download TinyMCE 2.0RC4 ? or maybe stable?

http://www.Lithuanianjoomla.COM
I like TinyMCE a lot smile