You are not logged in.

#1 2007-11-21 16:35:20

spocke
Administrator
From: Sweden, Skellefteċ
Registered: 2004-11-25
Posts: 11253
Website

TinyMCE 3.0b1 released

This is the first beta version of TinyMCE 3.0. Lots and lots of bugs and issues have been corrected, we have also done extensive testing on various platforms for this release.

There are also two new options for this release the first one is tab_focus this option enables you to configure TinyMCE to be focused with the tab key as you do with any other item in a form. It enables you to specify what to tab out to when you press the tab key inside the editor.

The second one is the class_filter option this function enables you to filter out classes to present in style list box when they get auto imported from the CSS files.

New versions of the compressors where also released and the spellchecker was moved from alpha to beta status since there have been no issues or reports regarding it.

--- Heres the complete changelog ----
Added new tab_focus option, that enables you to specify a element id or that the next element to be focused on tab key down.
Added new addQueryValueHandler method to the tinymce.Editor class.
Added new class_filter option, this enables you to specify a function that can filter out CSS classes for the styles list box.
Added support form [ url=url]title[/url] to the bbcode plugin.
Renamed the addCommandQueryState method in the tinymce.Editor class to addQueryStateHandler.
Renamed loadQue to loadQueue, to correct spelling.
Removed the createDOM method from the window manager and replace it with a createInstance method.
Removed the add to beginning of class attribute parameter of the DOMUtils.addClass method.
Fixed bug with the forced_root_block option, didn't work correctly with multiple inline elements.
Fixed bug where image dialogs replaced the current image element with a new one even when it was updated.
Fixed bug where the submit trigger wasn't executed when divs where converted into editor instances.
Fixed bug where div elements that got converted into editors didn't get a hidden input element generated for them.
Fixed bug where the the media_use_script option for the media plugin wasn't working correctly.
Fixed bug where the font size and font family listboxes wasn't updated correctly on Safari.
Fixed bug where the height of the fieldset in default image dialog for the advanced theme was to small.
Fixed bug where the font sizes behaved incorrectly after a cleanup on Safari.
Fixed bug where formatblock didn't work correctly in Safari on some elements.
Fixed bug where template plugin didn't insert content correctly unless some options where specified.
Fixed bug where charmap on Safari produced scrollbars.
Fixed bug where there was white artifacts in some dialogs due to missing background color.
Fixed bug where port was added to all external URLs if the editor was loaded from a custom port.
Fixed bug where the context menus got duplicated on Safari 3.0.4 on Mac OS X.
Fixed bug where dialogs like paste from word was huge on Firefox.
Fixed bug with media plugin not working with windows media objects.
Fixed bug where a forever loop was created if multiple instances where submitted using form.submit.
Fixed bug with editing a table produce error in IE when inlinepopups where used.
Fixed bug where the style plugin generated ugly looking style information in IE.
Fixed bug where the inline dialogs that got opened while in fullscreen mode wasn't visible.
Fixed bug where it was difficult to place the caret inside the word paste dialog.
Fixed bug where Opera produced strange border in the word paste dialog.
Fixed bug where viewport constraints could move a inlinepopup to a negative x, y position if the viewport was to small.
Fixed bug where template plugin was producing an error due to a deprecated API call.
Fixed bug where drag drop of images failed in Gecko if a document_base_url was specified.
Fixed bug where Firefox 3 failed to apply block formats like H1-H6 it still breaks on DIVs this has been reported to bugzilla.
Fixed bug where IE was producing a warning dialog about non secure items when running TinyMCE over HTTPS.
Fixed bug where the onbeforeunload event was triggered when menus or dialogs where opened.
Fixed bug where the fullscreen mode of the HTML view source box threw an error.
Fixed bug where the mceFocus command didn't work correctly.
Fixed bug where the selection could get lost in IE using inlinepopups.
Fixed so the body of the editor area has the mceContentBody class just like the 2.x branch.
Fixed so the media icon gets active when a media element is selected.


Best regards,
Spocke - Main developer of TinyMCE

Offline

 

#2 2007-11-21 17:54:28

esaj
Member
Registered: 2007-11-13
Posts: 1

Re: TinyMCE 3.0b1 released

Nice, is there an ETA for 3.0 then?

Offline

 

#3 2007-11-21 18:42:20

paperjam
Member
Registered: 2007-11-13
Posts: 6

Re: TinyMCE 3.0b1 released

Very nice.
Just one question before I try it: Does it work with the Imagemanager and Filemanager plugins?

Offline

 

#4 2007-11-21 23:40:14

spocke
Administrator
From: Sweden, Skellefteċ
Registered: 2004-11-25
Posts: 11253
Website

Re: TinyMCE 3.0b1 released

The ETA of 3.0 final is as soon as all feel that it's stable enough. It depends on how much bug reports we get etc. We will not add any new functionality after this release we will now only focus on testing and bug fixes. The API is also pretty much locked down now so users can begin porting their plugins to the new API.

We will release a new imagemanager and filemanager this week. It will fix any compatibility issues with the current 3.0b1 release it will also include a new init option and some bug fixes.


Best regards,
Spocke - Main developer of TinyMCE

Offline

 

#5 2007-11-21 23:52:20

Felix Riesterer
Administrator
From: Germany
Registered: 2005-12-30
Posts: 4601
Website

Re: TinyMCE 3.0b1 released

And how about language-specific customizations? Sorry to keep this issue up but it was a very nice feature of the 2.x branch! You might not like it but I'm offering two user languages (de/en) in my CMS and I'd like to switch between both of them in TinyMCE depending on user login. Do you really intend to not include such a feature in the 3.x branch? What a shame this would be... such a nice new API and "skinnability" but no more international language support other than messages and button tool tips. sad

Don't get me wrong here. I LOVE TinyMCE and your very fine work with the new branch. But just because FCKeditor doesn't have this multi language icon support TinyMCE doesn't need to lack it, too. It would outrun FCKeditor on this aspect... *hint*

Greetings from Germany,

Felix Riesterer.


Greetings from Germany,

Felix Riesterer.
(-> about me and this forum <-)

Offline

 

#6 2007-11-22 00:25:08

spocke
Administrator
From: Sweden, Skellefteċ
Registered: 2004-11-25
Posts: 11253
Website

Re: TinyMCE 3.0b1 released

Is these language specific icons common? I've only seen a few like German bold, Swedish bold and italic (I added those) and Russian. The only icons I can think of that needs to be language specific is bold, italic, underline and does it really matter if the B is a B or an F doesn't users know what it means anyway?

I will re-implement this feature is there is a demand for it. Some things in TinyMCE might not be used and then they shouldn't be in there. So please everyone who misses this function let me know.

But I think I will add that extra language code class for the containers so at least users can switch icons depending on language is they feel like it.


Best regards,
Spocke - Main developer of TinyMCE

Offline

 

#7 2007-11-22 06:02:17

codeman
Member
Registered: 2007-11-22
Posts: 4

Re: TinyMCE 3.0b1 released

I love the API for 3.0! You guys are doing a great job, keep it up :-D

Offline

 

#8 2007-11-22 09:37:59

Felix Riesterer
Administrator
From: Germany
Registered: 2005-12-30
Posts: 4601
Website

Re: TinyMCE 3.0b1 released

Yeah!!! The more I rewrite my custom plugin the more I love this new API!!! The tinymce.Editor.selection rocks!!! Among other things, of course... wink

Tremendous job Moxiecode! Way to go!

Greetings from Germany,

Felix Riesterer.


Greetings from Germany,

Felix Riesterer.
(-> about me and this forum <-)

Offline

 

#9 2007-11-22 14:57:11

kelb
Member
Registered: 2007-11-22
Posts: 1

Re: TinyMCE 3.0b1 released

Hi from Turkey. Thanks for your works. Will html output of pages builded with Tinymce be w3c valid? For example in version 2.1.2 if I add an image there is no alt="" in html output. So w3c can not validate the page. I must add alt="something" into html output. Can this feature be implemented if there is not already?
My other request is omiting transparent image on the popups.

Last edited by kelb (2007-11-22 14:59:02)

Offline

 

#10 2007-11-22 15:20:37

raine1988
Member
Registered: 2007-09-14
Posts: 9

Re: TinyMCE 3.0b1 released

Good day, very nice release

Did you have a chance to look for a way to make the MEDIA plugin output valid XHTML? (or javascript)

AND
media_use_script, does it have the ability to work with SWFOBJECT or UFO?

Looking forward for the Final Release

Offline

 

#11 2007-11-22 16:01:17

loci
Member
Registered: 2005-10-11
Posts: 36

Re: TinyMCE 3.0b1 released

I can only subscribe to the others views.
Very nice job done with the editor - and very fast bug fixing and support (what's not usual).
Minimum time record from my bug report to submitting the fix was 20 minutes!!!

We're currently integrating the editor in one of the biggest german social networks - and until now it looks very good. Thanks to the very clean API.

There is only one thing that i don't quite understand:
Language files are supposed to be commited in UTF8 encoding (right?).
So why are there two plugins with a iso meta tag (fullscreen, pastetext, pasteword)?
Just a bug or am i missing sth?

Greetings and thanks from germany.

Last edited by loci (2007-11-22 16:02:30)

Offline

 

#12 2007-11-22 16:51:42

Felix Riesterer
Administrator
From: Germany
Registered: 2005-12-30
Posts: 4601
Website

Re: TinyMCE 3.0b1 released

Hi loci!

The ISO files might not be intentionally ISO. Since all the official plugins' language files got included in the "master TinyMCE language file" (tiny_mce/langs/xy.js) which itself has UTF-8 encoding the other language files needn't be loaded anyways.

Greetings from Germany,

Felix Riesterer.


Greetings from Germany,

Felix Riesterer.
(-> about me and this forum <-)

Offline

 

#13 2007-11-22 17:23:14

spocke
Administrator
From: Sweden, Skellefteċ
Registered: 2004-11-25
Posts: 11253
Website

Re: TinyMCE 3.0b1 released

The JS files containing the language strings are encoded using \uXXXX patterns if the char code is above 127. So they can be loaded and used independent of the page encoding. This was important since users tend to have all sorts of different page encodings like UTF-8, UTF-16, ISO-8895-1 or some local language code. Using \uXXXX encoding for the JS files fixes all those problems so it doesn't really matter if the files have correct meta or not.


Best regards,
Spocke - Main developer of TinyMCE

Offline

 

#14 2007-11-23 17:51:33

MeAngry
Member
From: Eindhoven, Netherlands
Registered: 2006-11-17
Posts: 23

Re: TinyMCE 3.0b1 released

I have a problem with tinyMCE.activeEditor.selection.setContent in Internet Explorer, and I don't know if this is a bug or just something I'm not doing right.

I use a custom function to insert links to Internal pages (the Link list is not expendable enough for me unfortunately) and I used "mceInsertRawHTML" for this is versions prior to 3.0.
Now 3.0 is in beta I'm porting our CMS to 3.0, and I wanted to use tinyMCE.activeEditor.selection.setContent for it, because it looks like a much cleaner way. But Internet Explorer 7 gives me an Unknown Error when I try to use it to insert an '<a href="">...</a>' in some blank space. It does work when I have text selected though. (It replaces the text by my new content as it's supposed to.)

In Firefox 2.0.0.9 it works in both ways. But is there perhaps another function to insert text on the cursors position for when there's no selection?

Apart from that, extremely great job on this new version, I'm absolutely loving it! It's so much faster and almost bugfree. smile

Last edited by MeAngry (2007-11-23 17:53:33)

Offline

 

#15 2007-11-23 18:01:22

spocke
Administrator
From: Sweden, Skellefteċ
Registered: 2004-11-25
Posts: 11253
Website

Re: TinyMCE 3.0b1 released

You can use the tinyMCE.activeEditor.execCommand('mceInsertContent',false,'some content'); instead, this function will first focus the area if it got lost it might be something like that happening in IE. Since IE can't have two selection in the same page so if you focus something in a popup for example an input element the caret will be removed from the editor so it needs to be restored. The exec command does all that. The selection.setContent is more of a lower level and you need to focus it your self first etc.


Best regards,
Spocke - Main developer of TinyMCE

Offline

 

#16 2007-11-24 18:59:49

raine1988
Member
Registered: 2007-09-14
Posts: 9

Re: TinyMCE 3.0b1 released

Hi Spocke,

Did you have a chance to look for a way to make the MEDIA plugin output valid XHTML? (or javascript)

AND
media_use_script, does it have the ability to work with SWFOBJECT or UFO?

Looking forward for the Final Release

Offline

 

#17 2007-11-25 05:16:10

toperstoke
Member
Registered: 2007-11-25
Posts: 2

Re: TinyMCE 3.0b1 released

Hi,

Does TinyMCE support a "read-only" mode? i.e. suppose a user creates some html content using TinyMCE in a form I supply him, and later wants to preview the content he submitted, I want to open the saved form in read-only mode where TinyMCE acts as a renderer and not an editor - essentially I'd like to disable any sort of editing functionality/controls in the TinyMCE textfield and also not show the toolbar or pathbar.

This is an important requirement for my project.

If this is not possible currently, where can I file a feature req for the same?

BTW, awesome job, your editor is my fav.

Thanks!

Offline

 

#18 2007-11-25 12:45:41

Felix Riesterer
Administrator
From: Germany
Registered: 2005-12-30
Posts: 4601
Website

Re: TinyMCE 3.0b1 released

toperstoke wrote:

I want to open the saved form in read-only mode where TinyMCE acts as a renderer and not an editor

I don't get it. In what way does your request differ from TinyMCE's preview functionality?

Greetings from Germany,

Felix Riesterer.


Greetings from Germany,

Felix Riesterer.
(-> about me and this forum <-)

Offline

 

#19 2007-11-26 09:25:17

Mauno
Member
Registered: 2007-11-26
Posts: 4

Re: TinyMCE 3.0b1 released

Hi Spocke,
everything looks pretty stable in all browsers except OPERA (latest version) that has a lot of problems with compressor (tiny_mce_gzip.js) and at least plugins inlinepopups and style.

Great job!!!

Offline

 

#20 2007-11-26 10:11:11

mygoggie
Member
From: South Africa
Registered: 2007-03-17
Posts: 68
Website

Re: TinyMCE 3.0b1 released

Opera 9.24 (latest) goes into an endless loop with v3.0b1 and does not load.  I tried earlier stable compressors but it does not help.  I tested the latest compressors and TinyMCE 2.1.2 and that does work with Opera.

Offline

 

#21 2007-11-26 10:17:21

Mauno
Member
Registered: 2007-11-26
Posts: 4

Re: TinyMCE 3.0b1 released

... and without compressor v3.0b1 seems to work with Opera 9.24...

Offline

 

#22 2007-11-26 11:25:04

spocke
Administrator
From: Sweden, Skellefteċ
Registered: 2004-11-25
Posts: 11253
Website

Re: TinyMCE 3.0b1 released

Yes, I was able to confirm the gzip problem. Very strange it seems to fail if the cache is enabled, but if you clear the cache or disable it, it will work again. I guess I missed this problem since I had the cache of for development reasons.


Best regards,
Spocke - Main developer of TinyMCE

Offline

 

#23 2007-11-27 06:30:35

toperstoke
Member
Registered: 2007-11-25
Posts: 2

Re: TinyMCE 3.0b1 released

Felix Riesterer wrote:

toperstoke wrote:

I want to open the saved form in read-only mode where TinyMCE acts as a renderer and not an editor

I don't get it. In what way does your request differ from TinyMCE's preview functionality?

Greetings from Germany,

Felix Riesterer.

Felix,

If I understand it correctly, the preview functionality works from within the editor and clicking on the button pops up a window with the html content - however my requirement is when the user requests for a form in read-only mode, I should load the form with all its other elements and the TinyMCE textarea should render the html but not present any controls to modify the content. This could be achieved by a switch in the TinyMCE code to recognise the mode the TinyMCE instance is being loaded in - if it's read-only mode, it will not show the pathbar and the toolbars and also make the editor area unwriteable.

Thanks!

Offline

 

#24 2007-11-27 13:14:02

Felix Riesterer
Administrator
From: Germany
Registered: 2005-12-30
Posts: 4601
Website

Re: TinyMCE 3.0b1 released

Hmm. I did this: I modified the preview functionality (I basically copied the advanced theme's preview functions into my custom plugin and modified them) to submit a form inside the preview dialogue window. This form contains all the edited data and transmits it to my server-side script. This script then sends an HTML file as answer to the form submission. In this HTML file I can show how the edited page looks like when saved in its actual state.

This is more than just a TinyMCE issue, it is mostly a server-side issue.

Greetings from Germany,

Felix Riesterer.


Greetings from Germany,

Felix Riesterer.
(-> about me and this forum <-)

Offline

 

#25 2007-11-27 18:18:20

Alexqw
Member
Registered: 2007-10-12
Posts: 21

Re: TinyMCE 3.0b1 released

Great job with TinyMCE 3 so far!  I really enjoy it and it is much faster.  I am working on implementing a file browser, but the directions here (http://wiki.moxiecode.com/index.php/Tin … ilebrowser) don't seem to be updated to TinyMCE 3 yet since I get an error that tinyMCE.openWindow is not a function.  I assume that I need to use tinymce.WindowManager, but I thought it'd be good if somebody updated that portion of the wiki as well.
Keep up the greta work!

---Alex

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB