You are not logged in.
#1 2007-05-08 15:35:23
TinyMCE 2.1.1 Released
This release contains lots and lots of bug fixes and a few new features. Here are some details on some of them.
We added a new forced_root_block option, this enables you to force TinyMCE to always place any non block elements at root level into a block such as a P tag or a DIV.
Google video and YouTube support is now built in to the media plugin simply paste a URL to such a resource into the URL field of the media plugin and it will setup everything for you. We have been thinking of making separate dialogs for external video files but this will have to postponed for a future release.
A new default_document option was added this option makes it possible to use TinyMCE in a cross domain environment. This is more likely to be used by larger sites or corporations and if you don't know what the problem is don't bother to use the option. ![]()
The core has been cleaned some by removing unused code blocks, rewriting lots of it and use simpler methods for property retrieval.
Apos/' characters are no longer encoded since they only need to be encoded if they are places in attributes using apos characters as their separator values and TinyMCE doesn't support such elements since 99% of the web don't use them.
A old but annoying bug regarding IE and the removal of width and height attributes has now finally been resolved. So now you can have tags like <img src="my.gif" width="100" /> if you like.
Removed support and logic for IE 5.0. That browser is just to old now days and companies like Yahoo are beginning to end their support for it anyway.
Anyway, thanks a lot for all bug reports and patches for this release.
Best regards,
Spocke - Main developer of TinyMCE
Offline
#2 2007-05-08 17:53:52
- Felix Riesterer
- Administrator
- From: Germany
- Registered: 2005-12-30
- Posts: 4601
- Website
Re: TinyMCE 2.1.1 Released
BIG THANK YOU!!!
Greetings from Germany,
Felix Riesterer.
Offline
#3 2007-05-09 03:37:24
- cgortaris
- Member
- Registered: 2006-11-09
- Posts: 2
Re: TinyMCE 2.1.1 Released
Regarding the YouTube and GoogleVideo support, i'm looking forward to see them working because i've already made my own plugins but in separate pop-up windows.
Hope I can help with them in the future...
Best regards, Carlos Gortaris.
http://carlosgortaris.cl
Offline
#4 2007-05-09 06:53:21
Re: TinyMCE 2.1.1 Released
Nice work, thanks for continuing to keeps things fresh and updated!
I have a small pet peeve, and I'm wondering if there are any plans on addressing it in the future.
It involves IE, and the scenario is as follows:
1. The cursor is on a blank line
2. I press Enter
3. I then press Backspace
4. Pet peeve: instead of being back on a blank line again, the line contains a space, and the cursor is blinking after the space. But I never typed the space.
As a developer, I understand that it is likely due to the non-breakable space character that is used as a kind of placeholder to keep the line intact, but common users don't know about such details, and wouldn't care even if they did. They just don't like "the extra space that keeps getting inserted".
Any plans?
Offline
#5 2007-05-09 09:16:17
Re: TinyMCE 2.1.1 Released
Thanks for the great update, specially the google and youtube video additions are highly apprecheated. It would be nice to have the GUI updated as well, I think if you don't know that you can paste those URL's in there, users will not try to do so because it is not as it works with the other movies. Anyway, great addition!
Could it bee that while fixing the realtive link problem the default value for relative_urls got changed from false to true? I thought that with 2.1.0 when not setting relative_urls explicitly false was used, but now it seems to be set to true.
Thanks & best regards
Florian
OLAT LMS developer team
Best regards
-----
frentix GmbH - www.frentix.com - www.olat.org
professional services for the open source eLearning system OLAT
Offline
#6 2007-05-09 10:15:24
Re: TinyMCE 2.1.1 Released
gnaegi wrote:
Thanks for the great update, specially the google and youtube video additions are highly apprecheated. It would be nice to have the GUI updated as well, I think if you don't know that you can paste those URL's in there, users will not try to do so because it is not as it works with the other movies. Anyway, great addition!
Yes, exactly my thought. I guess a separate insert external movie button would be more appropriate. Since the media dialog is somewhat advanced and that as you say it's easy to miss that you can't paste URLs in.
gnaegi wrote:
Could it bee that while fixing the realtive link problem the default value for relative_urls got changed from false to true? I thought that with 2.1.0 when not setting relative_urls explicitly false was used, but now it seems to be set to true.
No, I double checked and it seems to work fine on the examples in IE and FF and they use 2.1.1.
Best regards,
Spocke - Main developer of TinyMCE
Offline
#7 2007-05-09 10:16:57
Re: TinyMCE 2.1.1 Released
speednet wrote:
I have a small pet peeve, and I'm wondering if there are any plans on addressing it in the future.
Could you submit a bug report on this one so I remember to look at it for the next release. Thanks..
Best regards,
Spocke - Main developer of TinyMCE
Offline
#8 2007-05-09 10:34:35
- Henkie
- Member
- Registered: 2005-12-12
- Posts: 10
Re: TinyMCE 2.1.1 Released
Great release! Keep up the good work.
I like the forced_root_block option ![]()
Offline
#9 2007-05-09 21:09:13
- happy_noodle_boy
- TWG Member
- Registered: 2005-02-24
- Posts: 171
Re: TinyMCE 2.1.1 Released
Save callback broken?
I get this error with 2.1.1, worked fine in 2.1.0
window[tinyMCE.settings.save_callback] is not a function
triggerSave(false, false)tiny_mce.js (line 3994)
triggerSave(false, false)tiny_mce.js (line 638)
formSubmit(form#[object HTMLInputElement] index2.php, true)tiny_mce.js (line 1540)
submitPatch()tiny_mce.js (line 1549)
submitform("cancel")joomla.javascript... (line 355)
submitbutton("cancel")index2.php (line 227)
[Break on this error] content = window[tinyMCE.settings.save_callback](this.formTargetElementId,htm...
just because you're not paranoid, doesn't mean everybody isn't out to get you.
Offline
#10 2007-05-09 21:50:11
Re: TinyMCE 2.1.1 Released
Yes, this is a bug. It is resolved in the SVN version. I removed lots of eval and I didn't take care of dot notation correctly. I guess you have a save_callback : 'something.somefunc' right?
Best regards,
Spocke - Main developer of TinyMCE
Offline
#11 2007-05-09 21:52:18
- happy_noodle_boy
- TWG Member
- Registered: 2005-02-24
- Posts: 171
Re: TinyMCE 2.1.1 Released
Yes I do.
Cool I'll grab the fix from svn.
Thanks for this release ![]()
just because you're not paranoid, doesn't mean everybody isn't out to get you.
Offline
#12 2007-05-09 22:32:53
- bets
- Member
- Registered: 2007-04-30
- Posts: 4
Re: TinyMCE 2.1.1 Released
Nice update. Looks like embed google video is still broken though. Embed works fine for youtube but this code from google video breaks in tiny mce
Code:
<embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=623302395252343807&hl=en" flashvars=""> </embed>
My guess is that tiny mce doesn't like having css width and height attributes for the <embed> tag.
Offline
#13 2007-05-10 10:00:15
Re: TinyMCE 2.1.1 Released
Hmm, it works for me if you simply paste the http://video.google.com/googleplayer.sw … &hl=en URL into the media dialogs URL field. Anyway, this is a bit unclear so some future version will have a separate dialog to insert these types of movies.
Best regards,
Spocke - Main developer of TinyMCE
Offline
#14 2007-05-10 20:17:53
- tholder
- Member
- Registered: 2006-12-03
- Posts: 34
Re: TinyMCE 2.1.1 Released
Is there any way yet to get the editor to style content exactly the same as the containing page?
Offline
#15 2007-05-10 20:25:22
- tholder
- Member
- Registered: 2006-12-03
- Posts: 34
Re: TinyMCE 2.1.1 Released
I should probably clarify.... the problem previously being that classes and ids don't flow through because TinyMCE is in an IFRAME and it knows nothing about the structure of the containing page. Leaving you with little option other than to specify global styles (not ideal at all).
Offline
#16 2007-05-10 21:55:21
Re: TinyMCE 2.1.1 Released
No there isn't but the body of the iframe has a class mceContentBody so you can use that to style it specifically. I will replace the editor with a div they day the Gecko team implements contentEditable. ![]()
Best regards,
Spocke - Main developer of TinyMCE
Offline
#17 2007-05-10 21:57:18
- tholder
- Member
- Registered: 2006-12-03
- Posts: 34
Re: TinyMCE 2.1.1 Released
Hi spoke,
I've actually managed to go one better (slightly), when I instantiate the editor I pull the ID of the parent element in the page and then put that in to the body of the IFRAME. It's not perfect, but does give the designer a bit more control.
Offline
#18 2007-05-10 22:18:07
Re: TinyMCE 2.1.1 Released
Hmm, interessing. Maybe that should be a thing to add in future versions of TinyMCE. It makes it possible to style each editor individual but with the same CSS.
Best regards,
Spocke - Main developer of TinyMCE
Offline
#19 2007-05-10 22:20:33
- tholder
- Member
- Registered: 2006-12-03
- Posts: 34
Re: TinyMCE 2.1.1 Released
Well... our designer/CSS guru isn't too happy that it doesn't keep the entire DOM's styles, but in theory it could be extended to also include any classes of the parent. It's a reasonable step forward... just means he has to adhere to a specific way of styling the pages (with IDs).
Offline
#20 2007-05-11 14:30:37
- Terranca
- Member
- Registered: 2007-05-11
- Posts: 1
Re: TinyMCE 2.1.1 Released
Compressor seems to be ignoring the language tag if you have multiple languages loaded in compressor and disk cache turned on.
Also: Compressor gives a uncaught exception when using the default image plugin. Loading advimg plugin solves this problem.
Offline
#21 2007-05-11 16:39:56
Re: TinyMCE 2.1.1 Released
The languages property only supports one at a time. I know it's confusing but it's on the todo to add multiple language support.
The error is reported since both plugins in tinymce and the compressor needs to match.
Best regards,
Spocke - Main developer of TinyMCE
Offline
#22 2007-05-11 19:41:36
Re: TinyMCE 2.1.1 Released
Hi Spocke,
in addition to the callback bug mentioned above, there seems to be another bug: if I click the submit button of a form that includes TinyMCE everything works fine. However, if I use an accesskey to trigger the submit button (e.g. [ALT] + s), the rich text editor content is never being saved. With the autosave plugin enabled, I am getting a "do you really want to leave this page" alert each time I hit the accesskey.
Regards
Leo
Offline
#25 2007-05-16 11:49:03
- Dextro
- Member
- From: Belgium
- Registered: 2007-05-16
- Posts: 4
Re: TinyMCE 2.1.1 Released
I think there's still a bug with the (fantastic) new feature: forced_root_block.
It still adds an empty paragraph everytime I save the content or load existing content in tinyMCE (textarea). Can somebody confirm that? If it is a bug, I'll add it to the tracker.
Last edited by Dextro (2007-05-16 11:49:54)
Offline
© 2003-2010