1

Topic: TinyMCE 3.2.3.1 Released

This release fixes a pretty critical bug with the new paste functionality. When the selection range was collapsed it would delete existing characters.

It also fixes some problems with the table plugin that has been in there for a while. We also fixed a IE 7 specific bug where event attributes would get a wrapper function in it's output.

If you are using the 3.2.3 version and the new paste plugin we strongly recommend that you upgrade to this one.

We want to give our thanks to everyone that has sent in patches and new features to the paste functionality. We will look into them in detail for the next release we just didn't want to add new functionality to this minor upgrade.

Best regards,
Spocke - Main developer of TinyMCE

2

Re: TinyMCE 3.2.3.1 Released

Since the project was a bit slow at the end of 2008/beginning of 2009 I missed out to check for daily updates. Therefore I hadn't updated TinyMCE for ~5 months (ran nov. 2008 release) when I noticed you guys released a big bugfix update. I immediatly deployed the latest version to the dev server here, and earlier today on the live server. Oh, the irony... at the same day I patched the live server I'm already outdated... now you guys released yet another version - nice one though!! Will updated immediatly.

Keep up the great work you're doing. TinyMCE is really handy... and now also more speedy.. Love all the enchantments - keep 'em coming!

3

Re: TinyMCE 3.2.3.1 Released

Yes, we where slow in releasing but very busy behind the scenes replacing lots of core functionality with new and improved ones. But we will try to be faster in releases now.

Best regards,
Spocke - Main developer of TinyMCE

4

Re: TinyMCE 3.2.3.1 Released

Nice one, will update my application with it shortly!

Be notified of all TinyMCE releases on Twitter by following: http://twitter.com/version_tinymce

5

Re: TinyMCE 3.2.3.1 Released

Hi I’m new here. I just started using tinymce for an internal web application I’m developing for my company. Love it! It was working find but today I upgraded to the 3.2.3.1 and it majorly broke my code/app. Where do I go to report/discuss/etc this? Thanks and hope we can work it out

6

Re: TinyMCE 3.2.3.1 Released

Broke in what way need more information to go on here.

Best regards,
Spocke - Main developer of TinyMCE

7

Re: TinyMCE 3.2.3.1 Released

I’m sure you hate to hear this but its the pasting functionality. The web app I’m designing  is a content archive for the different configurations of the web products our company host. We use Asp.Net for our web applications. So the developers will copy something from an .aspx or a web.config file and paste it into Tinymce, once they are finished with the form it gets saved in a database. When pasting after copying directly from an .aspx page or a web.config it parses the text very strangely.
This
    <system.net>
        <mailSettings>
            <smtp>
                <network host="Value"/>
            </smtp>
        </mailSettings>
    </system.net>
Becomes this

<
system.net
>
<
mailSettings
>
<
smtp
>
<
network host="Value"
/>
</
smtp
>
</
mailSettings
>
</
system.net
>

I got around that by setting paste_auto_cleanup_on_paste : true in Version: 3.2.1(2008-11-04), and it was fine because it stripped all of the attributes. Today when I upgraded to 3.2.3.1 and pasted directly from Visual Studio 2005 it was even worse. It listed all of the open tags (”<”) with each in a <p> then it stripped all of the close tags(”</”) each in a <p>. After those, then it listed all of the contents of the of XML tags inline with no line breaks. If i was to paste the XML in a word doc, then paste it in Tinymce it would be fine. But thats highy inefficient and we're steering away from using word docs to a database.

I hope that helps. If you need any more information let me know. Thanks!

8

Re: TinyMCE 3.2.3.1 Released

I can't reproduce this on IE or FF. So I need a proper bug report with real steps to reproduce it.

Best regards,
Spocke - Main developer of TinyMCE

9

Re: TinyMCE 3.2.3.1 Released

I updated today.

However, paste from word seems to be broken. I was using it before, and I checked the wiki, all my config matches the wiki articles. I paste to the popup and nothing gets put back in my editor when I hit update.

10

Re: TinyMCE 3.2.3.1 Released

Works fine when I try it in all browsers. Need proper steps to reproduce it.

Best regards,
Spocke - Main developer of TinyMCE

11

Re: TinyMCE 3.2.3.1 Released

My configuration is as follows:

var sPath = window.location.pathname;
    var sPage = sPath.substring(sPath.lastIndexOf('/') + 1);
    /* tinyMCE Config Options*/
    var tButtons = "bold,italic,underline,strikethrough,separator,"
    + "justifyleft,justifycenter,justifyright,justifyfull,"
    + "bullist,numlist,outdent,indent";
    var tButtons2 = "link,unlink,anchor,image,separator,"
    +"undo,redo,cleanup,code,separator,sub,sup,charmap,separator,pastetext,pasteword,selectall,separator,spellchecker";
    var tButtons3 = "";
   
    tinyMCE.init({
    theme : "advanced",
    mode: "textareas",
    theme_advanced_toolbar_location : "top",
    theme_advanced_buttons1 : tButtons,
    theme_advanced_buttons2 : tButtons2,
    theme_advanced_buttons3 : tButtons3,
    theme_advanced_toolbar_align : "center",
    theme_advanced_disable: "styleselect,formatselect",
    height: "350px",
    width: "540px",
    button_tile_map : true,
    force_br_newlines : true,
    plugins: "paste,spellchecker",
    spellchecker_languages : "+English=en",
    cleanup : false
  });

12

Re: TinyMCE 3.2.3.1 Released

Love you all and all these enchantments of TinyMCE 3.2.3.1 - keep them coming, very well done!

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

13

Re: TinyMCE 3.2.3.1 Released

@jfgreco: Consult the documentation.

Best regards,
Spocke - Main developer of TinyMCE

14

Re: TinyMCE 3.2.3.1 Released

I'm trying to use the latest TinyMCE branch as an external for our CMS. It would be great if I updated the project, I'd get the latest stable TinyMCE version. All I could find in the repository though is a 2_x branch. I guess it's not a good idea to use the trunk as an external, and updating my external to the latest tag also doesn't seem like an optimal solution either. Do you have an idea on how I could make sure I always have the latest version without manually updating it? Any help would be greatly appreciated.

15

Re: TinyMCE 3.2.3.1 Released

You can grab the trunk it's always the latest 3.x version. Or the ones in tags if you want a tested stable version release. The 2_x branch is deprecated and is no longer maintained.

Best regards,
Spocke - Main developer of TinyMCE

16

Re: TinyMCE 3.2.3.1 Released

Changed files between 3.2.3 and 3.2.3.1:

plugins/paste/editor_plugin.js
plugins/paste/editor_plugin_src.js
plugins/table/js/table.js
tiny_mce.js
tiny_mce_src.js

17

Re: TinyMCE 3.2.3.1 Released

spocke wrote:

You can grab the trunk it's always the latest 3.x version. Or the ones in tags if you want a tested stable version release. The 2_x branch is deprecated and is no longer maintained.

First off, thanks for the quick reply! Secondly, wouldn't it be handier if there would be a 3.x branch so that if I update my external I always have the latest stable version release without having to update my svn:external for TinyMCE?

18

Re: TinyMCE 3.2.3.1 Released

I guess we could have some form of tag with the latest release. Need to figure out how to do this in the build script so it does it automatically.

Best regards,
Spocke - Main developer of TinyMCE

19

Re: TinyMCE 3.2.3.1 Released

I have consistently run into a couple of issues with TinyMCE that I was hoping might be remedied in the newest TinyMCE release, but I haven't yet seen a resolution, so I thought that I might jump in here.

The code snippets below display the rendering of resized text blocks and empty paragraphs when using substitute "font_size_classes" in the tinyMCE.init script with "convert_fonts_to_spans" set to true.

To recreate the issue, what I do first is create a single text block, then change its font size, then change its color, and then change its font size once a again.  I then hit the return key a few times in order to create white space and then type in a second text block.

As a side note, I have my style sheet set for paragraphs to render "margin:0px;padding:0px;" in order to maintain single line spacing between paragraphs, akin to the use of a <br /> tag.

This is what is rendered within the HTML code for each of the noted browsers:

Firefox and Safari - These two browsers, as seen below, don’t maintain nested span tags within the empty paragraphs, but interestingly reintroduce them once the next text block is input, albeit the tags appear after the text.  This subsequently requires the second text block to be reformatted after being input and leaves a number of superfluous, empty nested tags within that paragraph:


<p><span class="fontSize5"><span style="color: #cfb369;"><span class="fontSize7">First text block.</span></span></span></p>
<p> </p>
<p> </p>
<p> </p>
<p>Second text block.<span class="fontSize5"><span style="color: #cfb369;"><span class="fontSize7"></span></span></span></p>


Chrome - Below you can see that the empty nested span tags are maintained within the second paragraph, but the lack of a non-breaking space tag effectively nullifies the intended white spacing of the second empty paragraph once the page is rendered.  By the third paragraph, Chrome disposes of the empty span tags and substitutes a non-breaking space tag, but this also requires the second text block to be reformatted:

<p><span class="fontSize5"><span style="color: #cfb369;"><span class="fontSize7">First text block.</span></span></span></p>
<p><span class="fontSize5"><span style="color: #cfb369;"><span class="fontSize7"></span></span></span></p>
<p> </p>
<p> </p>
<p>Second text block.</p>


IE 7 and 8 - These two browsers consistently maintain the nested span tags, but without any non-breaking space tags, effectively nullifying all of the empty paragraphs when rendered on the finished page.  The net result is that although there are three paragraphs separating the two text blocks, the final page rendering displays as if only a single <br /> tag exists between the text blocks:

<p><span class="fontSize5"><span style="color: #cfb369;"><span class="fontSize7">First text block.</span></span></span></p>
<p><span class="fontSize5"><span style="color: #cfb369;"><span class="fontSize7"></span></span></span></p>
<p><span class="fontSize5"><span style="color: #cfb369;"><span class="fontSize7"></span></span></span></p>
<p><span class="fontSize5"><span style="color: #cfb369;"><span class="fontSize7"></span></span></span></p>
<p><span class="fontSize5"><span style="color: #cfb369;"><span class="fontSize7"> Second text block.</span></span></span></p>


Is anybody aware of a way to auto-clean those nested span tags or at least auto-insert a consistent non-breaking space tag within the empty paragraphs?  I hope this information will help also others.

20

Re: TinyMCE 3.2.3.1 Released

There is a problem with removing spans and merging them since I can't know that the classes are used for having multiple classes could produce stange results I can't just concat them all together.

I mean this isn't the result one would want for the above code:
<span class="fontSize5 fontSize7" style="color: #cfb369;">First text block.</span>

Best regards,
Spocke - Main developer of TinyMCE

21

Re: TinyMCE 3.2.3.1 Released

Thank you for your response, Spocke.  I can definitely appreciate your dilemma about having to second-guess the meaning of specialized font classes, and concatenating them at this point is not a primary concern.  Forcing a reformat of subsequent paragraphs in Firefox and Safari is also a lesser concern, but I was curious about the behavior that makes TinyMCE render empty paragraphs in those two browsers differently than in Chrome and IE -- this as seen in my original post.  I am assessing that this behavior is related to the TinyMCE editor and not to the browsers, but please let me know if something else is at play.

If I have one overriding concern, however, it is with respect to those empty paragraphs in IE and, to a somewhat lesser extent, Chrome.  As the primary purpose of the font_size_classes tag (as far as I am aware) is relevant to font sizing, if referencing my samples above, an IE user would see all of the added paragraph breaks when initially composing text within the TinyMCE editor, but the breaks would then disappear completely upon the final rendering of the page, despite the paragraph tags still appearing within the underlying HTML.  The end user could subsequently become confused about this and continue to add new paragraphs in an attempt to open up white space between the text blocks, but the net result in IE would be the same regardless of how many new paragraphs were inserted... the first text block and the second text block would always appear as if the additional paragraph spacing didn't exist at all.

Rather than forcing the end user to select the spacing between the text blocks and subsequently click the "Remove formatting" icon (which requires instructional intervention rather than being an intuitive step for the end user) I am wondering instead if there is a way for a non-breaking space tag to be automatically inserted by TinyMCE when a paragraph only contains empty font span classes.

Please let me know.  Again, I hope that this information will help others as well.

22

Re: TinyMCE 3.2.3.1 Released

Hi,

the "Paste" function is not working anymore with Firefox 3.0.10. Is that normal ?

Thanks for all your work.

Chico

23

Re: TinyMCE 3.2.3.1 Released

@ChefDan: File a bug report with steps for us to reproduce it at Source Forge and we will have a look at it.
@chico: Works perfectly fine in my FF.

Best regards,
Spocke - Main developer of TinyMCE

24

Re: TinyMCE 3.2.3.1 Released

I'm sorry but i just tried on your website. When I click on copy or paste function, i get a message :

"Currently not supported by your browser, use keyboard shortcuts instead."

Moreover, when I try on my own website, I have the same message.

Chico

25

Re: TinyMCE 3.2.3.1 Released

Ok, I think i found the answer: it's a firefox security problem.

The functionality has to be enabled in Firefox user preferences.

http://www.mozilla.org/editor/midasdemo … prefs.html