26

Re: TinyMCE 3.0 Alpha 1 Released

The great job for TinyMCE 3.0. But, I have 1 note for this new TinyMCE.

In TinyMCE 3.0, toolbar icons arrange with table/tr/td but "side-effect" of this are "lost" toolbar icons "wrap" (icons "wrap" if total width of 1 row of icons less then "available" width.

27

Re: TinyMCE 3.0 Alpha 1 Released

I don't see what you mean? One of the benefits of using tables instead of floating divs is to avoid the wrapping of contents.

Best regards,
Spocke - Main developer of TinyMCE

28

Re: TinyMCE 3.0 Alpha 1 Released

Dear spocke,

Please look at the website:
1. http://www.jci.or.id
2. click "edit" button at left-bottom and wait a minute until loading finished
3. you can see 3 editing "area" and click the one.
4. then you can see toolbar at top --> height of "area" problem in FF
5. then click "toolbar position" icon/image at top-left of toolbar --> switch for fix/floating toolbar

That is what I mean.

Last edited by mustafa (2007-11-07 13:51:14)

29

Re: TinyMCE 3.0 Alpha 1 Released

why are the toolbars styled using tables and not with divs / lists?

30

Re: TinyMCE 3.0 Alpha 1 Released

I started out using lists and divs. The problem is that the buttons needs to be block elements and floating them resulted in wrapping toolbars. So the only way I could think of was to use tables since then each block can be placed in a table cell and tables doesn't wrap. In other words using tables resolves lots of issues that I found using the div/floats/ul/li approach.

Best regards,
Spocke - Main developer of TinyMCE

31

Re: TinyMCE 3.0 Alpha 1 Released

Do you see http://tinymce.moxiecode.com/punbb/view … hp?id=8582 (change img to input-button for icons).

Yes, maybe this approach not 'mainstream' and 'ugly'

32

Re: TinyMCE 3.0 Alpha 1 Released

No, there is still no need. In IE6SP2+ it can be solved with a execCommand call. This is done in the 3.0 versions and for older browsers you need to reconfigure the server. We will probably add some article about this later on in the Wiki. And if a majority of users use browsers pre IE6SP2 then we will add a plugin that does this for you adding the server headers and streaming all images though that backend page.

http://www.aspnetresources.com/blog/cac … sions.aspx

Best regards,
Spocke - Main developer of TinyMCE

33

Re: TinyMCE 3.0 Alpha 1 Released

Hei out there,

how do i use getContent() in the alpha version 3?

for me works:
alert(tinyMCE.activeEditor.getContent());

but is this the best solution?

Best regards,
Tobi

Last edited by tobi-03 (2007-11-08 21:38:21)

34

Re: TinyMCE 3.0 Alpha 1 Released

Yep, thats one of the ways of doing it if you need the contents from the active editor. If you need the contents of a specific editor regardless if it's focused or not you can then use tinyMCE.get('someid').getContent();

Best regards,
Spocke - Main developer of TinyMCE

35

Re: TinyMCE 3.0 Alpha 1 Released

Hi,

First of all thanks a lot for you new release of all this improvements, hope to see it stable soon ;-)

Well I'm actually making the full rewrite of InPlaceRichEditor (http://inplacericheditor.box.re/) based on Prototype 1.6.0 and Script.aculo.us 1.8 This said I'm actually facing a problem to use the command mceRemoveEditor

I'm using it like this : tinyMCE.execCommand('mceRemoveEditor', false, 'idOfMyTextarea');

Actually I'm always getting the following error :
e has no properties
file:///***/tiny_mce/tiny_mce.js
Line 1

Does the syntax as changed or is that a bug ? Do you like a bug report for this ?
I was also looking for the API doc but it seem to be actually down, hope to see it back up and running soon.

Thanks again for your great work.
--
  Sebastien Grosjean - ZenCocoon

36

Re: TinyMCE 3.0 Alpha 1 Released

This seems to be a bug, that command should work. File a bug report at source forge so we can track it.

Best regards,
Spocke - Main developer of TinyMCE

37

Re: TinyMCE 3.0 Alpha 1 Released

What is the relation between jQuery and TinyMCE 3?

38

Re: TinyMCE 3.0 Alpha 1 Released

We have added some adapters to the API so TinyMCE can use the jQuery API to reduce it's size but this is currently experimental and I haven't had the time to play with it since we are now focusing on stability for the core API. TinyMCE will remain library independent but that doesn't mean that we can't still use other libraries as an optional runtime for the core.

Best regards,
Spocke - Main developer of TinyMCE

39

Re: TinyMCE 3.0 Alpha 1 Released

that it is great, a lot of people are using TinyMCE along with other js libs.

40

Re: TinyMCE 3.0 Alpha 1 Released

That's sure, a version using Prototype would be much appreciate, I believe that it would make it lighter, and maybe faster as well.

41

Re: TinyMCE 3.0 Alpha 1 Released

I've stated an adapter for prototype as well. But our main focus if now to get the core API of TinyMCE stable so I will not have time to work on it for a while. But if any of you prototype users want to help out in the process of writing the adapter drop me an email and I will help you get started on it.

Best regards,
Spocke - Main developer of TinyMCE

42

Re: TinyMCE 3.0 Alpha 1 Released

First I've got my problem with mceRemoveControl fixed after a mac sofware update (nothing relative to browser apparently).

Yesterday I got the problem on FF 2.0.9 and Opera 9.23  on Mac, and all good on Win IE5.5 IE6.0 IE7 FF2.0.9 Opera 9.23 but now Mac seems to work properly as well.

For Prototype development that can be interresting to help you but would like to rewrite a couple of library before, I'll let you now if I get time for helping you out.

Anyway great job for this new release and thanks you for focusing on getting it stable.
--
  Sébastien Grosjean - ZenCocoon

43

Re: TinyMCE 3.0 Alpha 1 Released

Spocke, I'd love giving you a hand with Prototyping TinyMce, email me at: ran2103 at gmail dot com.
Thanks!
Ran

44

Re: TinyMCE 3.0 Alpha 1 Released

Brilliant work on the optimisation and fewer requests.

I'm wondering, I currently (via a few hacks) load TinyMCE via Ajax and would love it if there was a possibility this could become more native (i.e. you can preload it all happily then call it on an element without making too many obscure calls that confuse TinyMCE when it's via AJAX)

http://office.nvbrand.com/drew/cms.jpg

45

Re: TinyMCE 3.0 Alpha 1 Released

You can simply load the editor with the mode setting to "none" then all JS files will be loaded in background. I recommend that you do this using gzip so it smaller in size.

Check these examples out the first one loads the editor on the fly over a few XHR calls:
http://wiki.moxiecode.com/examples/tiny … ple_18.php
http://wiki.moxiecode.com/examples/tiny … ple_06.php

Best regards,
Spocke - Main developer of TinyMCE

46

Re: TinyMCE 3.0 Alpha 1 Released

Many thanks spocke.