You are not logged in.

#1 2008-02-21 14:52:10

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

TinyMCE 3.0.1 Released

This release mainly contains fixes for bugs and issues that was found in the last 3.0 final release most of them are pretty minor or very isolated but it's always nice to fix bugs and getting the 3.x branch more stable.

Some new features where introduced to this release here are some of them in detail.

* A new custom_elements option was introduced we have seen a demand for having non HTML elements in the editor for example custom XML elements this option makes it possible.
* We added support for domain relaxing this means that you can load TinyMCE from another sub domain for example "www.site.com" can load tinymce from "scripts.site.com".
* The spellchecker is now part of the package but only the JavaScript part of it. You can specify an RPC url to it so if you have a spellchecker backend you can tie that in without the need of a separate installation package.
* The class_filter option has now an extra parameter with the whole CSS rule string so that you can match on this to exclude/include classes from the CSS file.
* The auto class importer is now compatible with the old 2.x branch. Use the class_filter if you need to alter this behavior.
* We added support for WebKits new Selectors API so it now detects if the browser has the support and uses that instead this will greatly improve the performance of select method of the DOMUtils class.
* We made some changes to the CSS to handle Firefox 3. It appears that their new rendering engine has some compatibility issues with older CSS files.
* We have also fixed and verified that TinyMCE works with the YUI css reset package.
* Fixed various bugs and issues with the media plugin so that it can handle more odd ways of writing object/embed html.

Once again a big thanks goes to all the people sending in bug reports and patches please continue to help us in the quest to make the best RTE editor for the web.


Best regards,
Spocke - Main developer of TinyMCE

Offline

 

#2 2008-02-21 15:36:52

seengee
Member
Registered: 2007-06-18
Posts: 12

Re: TinyMCE 3.0.1 Released

is there any documentation on upgrading from version 3.0 ?, specifically which files have been changed etc.

thanks.

Offline

 

#3 2008-02-21 15:48:45

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

Re: TinyMCE 3.0.1 Released

There is no need to change any config etc for this new release and there is a tag for this release in the SVN so you can use Tortoise SVN to diff from previous releases.


Best regards,
Spocke - Main developer of TinyMCE

Offline

 

#4 2008-02-21 15:58:14

seengee
Member
Registered: 2007-06-18
Posts: 12

Re: TinyMCE 3.0.1 Released

sorry to be dumb but i'm not sure what you're referring to there ?? Do you mean i can just download the changed files, if so from where ?

:: UPDATE::

trying to connect to svn@http://tinymce.svn.sourceforge.net/viewvc/tinymce using TortoiseSVN

getting this message: Error * PROPFIND request failed on '/viewvc/tinymce' PROPFIND of '/viewvc/tinymce': 301 Moved

am i doing something wrong ?

Last edited by seengee (2008-02-21 16:32:14)

Offline

 

#5 2008-02-21 19:10:08

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

Re: TinyMCE 3.0.1 Released

This is still a bug:

Using SVN 21/2/2008

In Fullscreen edit mode, hit Preview - path gets lost - gives error showing wrong path to example.html - path starts at site root and does not include the URL base e.g. http://mysite.com before the path.

In normal view, hit Preview - All OK

Offline

 

#6 2008-02-21 19:31:34

caz
Member
From: Ottawa, Canada
Registered: 2007-05-16
Posts: 47
Website

Re: TinyMCE 3.0.1 Released

The ImageManager plugin doesn't seem to want to load after the 3.0.1 install. I'm am also using the PHP compressor 2.0. Any clue why this might be happening?  I've cleared the browser cache to make sure that wasn't the issue.

Offline

 

#7 2008-02-21 19:42:40

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

Re: TinyMCE 3.0.1 Released

We have them up and running at the example pages. You need a pretty new version of the ImageManager the latest 3.0.6 is verified to work with both TinyMCE 3.0.1 and TinyMCE 2.1.3 so if you have that one it should work just fine.


Best regards,
Spocke - Main developer of TinyMCE

Offline

 

#8 2008-02-21 19:48:58

danielpott
Member
Registered: 2007-01-22
Posts: 46

Re: TinyMCE 3.0.1 Released

Hi,

I got the same problem. Image Manager 3.06 and not loading. Actually all your examples have this problem too. They start up and keep loading for ever.

Best Regards
Daniel

Offline

 

#9 2008-02-21 19:54:02

caz
Member
From: Ottawa, Canada
Registered: 2007-05-16
Posts: 47
Website

Re: TinyMCE 3.0.1 Released

That's exactly what I'm getting with the ImageManager 3.0.6.

I installed TinyMCE 3.0.1 and the ImageManager 3.0.6.  When I click on the image icon in TinyMCE in Firefox, I don't get the little icon on the right of the image path input of the pop-up window. In IE, the icon shows up in the pop-up window but when I click on it, the ImageManager loads forever and get a javascript error:

Line: 161
Char: 4
Error: Object doesn't support this property or method
Code: 0
URL: <baseurl>/tiny_mce/plugins/imagemanager/pages/im/index.html

Offline

 

#10 2008-02-21 20:08:32

caz
Member
From: Ottawa, Canada
Registered: 2007-05-16
Posts: 47
Website

Re: TinyMCE 3.0.1 Released

In addition, accessing the ImageManager using the code bellow which worked in version 3.0.5 doesn't work anymore:


<form name="form"><input type="text" name="large_thumb"><a href="javascript:mcImageManager.open('form','large_thumb','','',{rootpath : '/somerootpath', remove_script_host : true});">[Browse]</a></form>

Last edited by caz (2008-02-21 20:10:54)

Offline

 

#11 2008-02-21 20:17:32

caz
Member
From: Ottawa, Canada
Registered: 2007-05-16
Posts: 47
Website

Re: TinyMCE 3.0.1 Released

More results from some debugging.  The ImageManager 3.0.6 in standalone mode works if I don't load the TinyMCE 3.0.1 javascript before the ImageManager javascript.  As soon as I load the TinyMCE 3.0.1, I get the JS errors and the ImageManager doesn't work.

Offline

 

#12 2008-02-21 20:26:12

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

Re: TinyMCE 3.0.1 Released

@danielplott: That example are you referring too. I just tested the http://tinymce.moxiecode.com/example_fu … ample=true url in IE 6/7, FF, Opera, Safari all working fine from here?
@caz: If you use the ImageManager with TinyMCE try loading it as a plugin like tinyMCE.init({plugin : "imagemanager"});


Best regards,
Spocke - Main developer of TinyMCE

Offline

 

#13 2008-02-21 20:32:14

caz
Member
From: Ottawa, Canada
Registered: 2007-05-16
Posts: 47
Website

Re: TinyMCE 3.0.1 Released

Here's what I include at the top of my page to configure TinyMCE and the ImageManager to be used on the same page as a plugin and in standalone mode.  This worked perfectly when I was using TinyMCE 3.0 and ImageManager 3.0.5.  All I did when I installed 3.0.1 and 3.0.6 copy the new files over the old install...also updating the config.php file in the tiny_mce/plugins/imagemanager directory.

I double checked that the tinyMCE.init({plugin : "imagemanager"}); is in my config...  As mentioned above, this configuration worked perfectly...

<script language="javascript" type="text/javascript" src="../sources/jscripts/tiny_mce/tiny_mce_gzip.js"></script>
<script type="text/javascript">
        tinyMCE_GZ.init({
    plugins : "safari,table,save,advimage,advlink,insertdatetime,preview,flash,searchreplace,contextmenu,paste,fullscreen,spellchecker,noneditable,visualchars,nonbreaking,xhtmlxtras,imagemanager",
    themes : "advanced",
    languages : "en",
    disk_cache : true,
    debug : false
        });
      </script>
      <script language="javascript" type="text/javascript">
        tinyMCE.init({
        plugins : "safari,table,save,advimage,advlink,insertdatetime,preview,flash,searchreplace,contextmenu,paste,fullscreen,spellchecker,noneditable,visualchars,nonbreaking,xhtmlxtras,imagemanager",
        mode : "textareas",
        theme : "advanced",
        width : "100%",
        theme_advanced_blockformats: "p,div,h1,h2",
        theme_advanced_styles : "Warning=warning;Nav=article_navigation;Nav Title=article_navtitle; Thumbnail Link=thumblink",
        theme_advanced_buttons1 : "newdocument,|,preview,|,spellchecker,|,cut,copy,paste,pastetext,pasteword,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code,|,search,replace,|,removeformat,visualchars,visualaid",
        theme_advanced_buttons2 : "styleselect,formatselect,|,bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,bullist,numlist,|,outdent,indent,|,sub,sup",
        theme_advanced_buttons3 : "fullscreen,|,forecolor,backcolor,|,charmap,|,tablecontrols",
        theme_advanced_toolbar_location : "top",
        theme_advanced_toolbar_align : "left",
        theme_advanced_statusbar_location : "bottom",
        theme_advanced_resize_horizontal : false,
        theme_advanced_resizing : true,
        apply_source_formatting : true,
        plugin_insertdate_dateFormat : "%Y-%m-%d",
        plugin_insertdate_timeFormat : "%H:%M:%S",
        extended_valid_elements : "iframe[style|src|frameborder|width|height|align|scrolling],object[type|data|align|width|height],param[name|value],a[class|name|href|target=_blank|title|onclick|rel],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]"
        });
      </script><script language="javascript" type="text/javascript" src="../sources/jscripts/tiny_mce/plugins/imagemanager/js/mcimagemanager.js"></script>

Last edited by caz (2008-02-21 20:49:07)

Offline

 

#14 2008-02-21 21:34:15

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

Re: TinyMCE 3.0.1 Released

A fix for the gzip and window problem was just released in the 3.0.6.1 version of MCImageManager/MCFileManager. Sorry for any inconvenience. It can be downloaded from the upgrade page.


Best regards,
Spocke - Main developer of TinyMCE

Offline

 

#15 2008-02-21 21:46:04

caz
Member
From: Ottawa, Canada
Registered: 2007-05-16
Posts: 47
Website

Re: TinyMCE 3.0.1 Released

Woohoo. Thanks for the fix.

Offline

 

#16 2008-02-21 23:41:30

Austin
Member
Registered: 2008-01-24
Posts: 3

Re: TinyMCE 3.0.1 Released

I am getting the following error in FF 2.0.0.11 when using a clean install of 3.0.1. 

Code:

d has no properties
From IE I get the place: if(!isIE||!tinymce.relaxedDomain){d.open();

Happens when you try to do the following on an existing, but hidden, textarea that isd made visible before execCommand is called:

Code:

tinyMCE.execCommand('mceAddControl',false,'textarea_id');

Also, when you do the command the textarea still exists as the original, non-converted textarea and the editor is placed below it and is unusable.  You cant click on anything or type anything into the editor space.

Uploading 3.0.0 fixes the error and the editor shows up like it should so I am not sure if you guys changed something.  I also get the error in IE 7 latest and it points to the same section.

I am using a minify compressor on the files during load which caches the files to disk so might be a syntax issue causing this problem.

Offline

 

#17 2008-02-22 00:39:58

sonicpictures
Member
Registered: 2008-02-22
Posts: 5

Re: TinyMCE 3.0.1 Released

Hi!

Just updated tinyMCE in my CMS from 2.1.3 and so far it looks good. I just have one feature request: Could the domain relaxing be made even a bit more relaxed? Or is it possible to disable it completely?

My setup is that I have multiple domains running on the same server, with the static files being served from a dedicated vhost for all of them. So I would be fine if the domain checker would only compare IP addresses, but right now, opening popups (like advanced color picker) always results in JS error messages.

Offline

 

#18 2008-02-22 10:27:06

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

Re: TinyMCE 3.0.1 Released

@Austin: Minification should not produce these problems. Could you file a bug report at SF with steps for me to reproduce this locally and I will look at it.
@sonicpictures: A.f.a.i.k. no, the browsers security model only allows sub domains to communicate so "www.site.com" and "scripts.site.com" works but not "www.site.com" and "www.othersite.com".


Best regards,
Spocke - Main developer of TinyMCE

Offline

 

#19 2008-02-22 13:47:35

Gafsveno
Member
Registered: 2007-03-31
Posts: 3

Re: TinyMCE 3.0.1 Released

Hello
I've added tinyMCE 3.0.1. It works great on Firefox but can not display in IE6!! Is there any mistake or wrong config I've made?

Offline

 

#20 2008-02-22 14:22:35

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

Re: TinyMCE 3.0.1 Released

Might be an extra or missing , in your init call.


Best regards,
Spocke - Main developer of TinyMCE

Offline

 

#21 2008-02-22 15:54:51

sonicpictures
Member
Registered: 2008-02-22
Posts: 5

Re: TinyMCE 3.0.1 Released

Hi!

@spocke: I had the setup working with tinymce 2 and a lot of other javascripts, and tested it in IE6,7 FF2, Konqueror and Safari 2,3, and never had a problem with loading script files. Interestingly enough, a custom plugin I ported over from tinymce2 is still opeing its popup correctly, but the built-in ones like colorpicker throw errors and display empty popups.

These are the errors firebug reports for colorpicker:

Illegal document.domain value" code: "1009

this.params has no properties
getWindowArg("plugin_url", undefined)tiny_mce_popup.js (line 47)
requireLangPack()tiny_mce_popup.js (line 98)
[Break on this error] var v = this.params[n];

Offline

 

#22 2008-02-22 16:42:18

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

Re: TinyMCE 3.0.1 Released

Sounds like there is a problem with the new domain relaxing feature. Do you load the script from a domain other than the current domain?

Update: There was a problem with the new code. If another script was setting document.domain and TinyMCE was loaded locally it would fail the latest SVN trunk fixes this problem.


Best regards,
Spocke - Main developer of TinyMCE

Offline

 

#23 2008-02-22 20:46:29

Austin
Member
Registered: 2008-01-24
Posts: 3

Re: TinyMCE 3.0.1 Released

@spocke  It appears to be an issue with loading something via ajax.  The comments we use load after the page loads via ajax and this is when the issue happens.  If I change the comments from ajax to flat loading (i.e. put into the html directly) it works like it should.  If I change it back to the AJAX loading of the comments the error shows up again.  This does not happen in 3.0.0 so something was changed with how the DOM is being read or something I cant put my finger on it right now as I dont have the time look for it.  But perhaps Tiny is unable to find the id of the item I am asking it to replace.  I did see however that the style is never changed on the textarea to display:none; when a textarea is trying to be replaced that was loaded via ajax.

Offline

 

#24 2008-02-22 21:02:01

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

Re: TinyMCE 3.0.1 Released

I think is fixed in the latest SVN trunk there where issues with the mceAddControl and the render method of the Editor class these have now been resolved.


Best regards,
Spocke - Main developer of TinyMCE

Offline

 

#25 2008-02-22 21:47:44

Austin
Member
Registered: 2008-01-24
Posts: 3

Re: TinyMCE 3.0.1 Released

Ok sounds good.  Do you guys have an eta on the next minor release?

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2008 PunBB