26

Re: TinyMCE 3.0.6 Released

Use the textareas mode or the editor_selector option. It gets confused since they both have the same name. I guess you are using mode : 'exact' and elements : 'content' ?

Best regards,
Spocke - Main developer of TinyMCE

27

Re: TinyMCE 3.0.6 Released

Nope, I'm using:

    <script language="javascript" type="text/javascript">
        tinyMCE.init({
            mode : "textareas",
            theme : "advanced",
            cleanup : false,
            entity_encoding : "raw",
            remove_linebreaks : false,
            apply_source_formatting : true
        });
    </script>

28

Re: TinyMCE 3.0.6 Released

Ahh, okey. I think I know that this problem is, it will set the id of the textarea if it doesn't have one but since there are two elements with the same id it will find the div in subsequent calls. I guess it should first check if there is an element with the specific id if it doesn't exist then set the id to the name and if it exists generate an unique id instead.

Please. File a bug report on this one so I remember to fix it.

Best regards,
Spocke - Main developer of TinyMCE

29

Re: TinyMCE 3.0.6 Released

Great work! Thanks a lot. I was waiting for this smile

--
The best cms review coming soon.

30

Re: TinyMCE 3.0.6 Released

I'm getting a problem in TinyMCE 3.0.6.2, in two different browsers (Safari and Firefox):

when I attempt to add/edit a link, the popup window doesn't have the correct field labels; instead, the window title is "{#advanced_dlg.link_title}", the URL label is "{#advanced_dlg.link_url}", etc. It seems like some function to switch these identifiers with the actual text labels isn't being run?

When I click "Insert", nothing happens except that the popup's input fields are cleared.

Any ideas, is there someplace I can look to figure out how to correct this?

Thanks!

31

Re: TinyMCE 3.0.6 Released

Unable to reproduce it. Clear your browser cache.

Best regards,
Spocke - Main developer of TinyMCE

32

Re: TinyMCE 3.0.6 Released

Excelent work spocke and all the tinyMCE team!

I just have two questions that i don't know if they are bugs:
- When i put many   one after another, after submitting TinyMCE converts them to one  .
- When i put the entitie for euro sign €, after submit changes to ¿ and a question mark appears.

I 'm using FF2 with named entitie encoding

Best regards,
andreus

Last edited by andreus (2008-04-11 17:37:58)

33

Re: TinyMCE 3.0.6 Released

Sounds like missing entity encoding check this FAQ item out: http://wiki.moxiecode.com/index.php/Tin … en_text.3F

Best regards,
Spocke - Main developer of TinyMCE

34

Re: TinyMCE 3.0.6 Released

Now for some reason, when I use the extended_valid_elements config to modify an element, each of the elements listed in by extended_valid_elements configuration get's screwed up.  In this example, all I want do to is add a default border value of 0 to each img tag.  This instead removes everything from each image tag with the exception of border=0 (extended_valid_elements : "img[border=0]").

I tried to put the exact string located in your default rule set in the extended_valid_elements config but this also doesn't seem to help. 

Has version 3.0.6.2 changed how we are supposed to use extended_valid_elements?

Config example which used to work and now doesn't seem to work:

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|border=0|alt|onmouseover|onmouseout|name],
hr[class|width|size|noshade],
font[face|size|color|style],
span[class|align|style]"

Last edited by caz (2008-04-11 22:06:04)

35

Re: TinyMCE 3.0.6 Released

caz wrote:

all I want do to is add a default border value of 0 to each img tag.  This instead removes everything from each image tag with the exception of border=0 (extended_valid_elements : "img[border=0]").

it is my understanding that your setting explicitly says that an "img" element is to have only a "border" attribute with the value of "0". No other attributes or values are valid according to this setting.

Try this:

extended_valid_elements: "img[src|border=0|alt]"

Greetings from Germany,

Felix Riesterer.

Greetings from Germany,

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

36

Re: TinyMCE 3.0.6 Released

Spocke: Can I be a PITA and ask for my spellchecker enhancement patch to be re-reviewed: https://sourceforge.net/tracker/index.p … tid=635684

Thanks,

Scott

(a.k.a. monkeybrain)

37

Re: TinyMCE 3.0.6 Released

spocke wrote:
andreus wrote:

Excelent work spocke and all the tinyMCE team!

I just have two questions that i don't know if they are bugs:
- When i put many   one after another, after submitting TinyMCE converts them to one  .
- When i put the entitie for euro sign €, after submit changes to ¿ and a question mark appears.

I 'm using FF2 with named entitie encoding

Best regards,
andreus

Sounds like missing entity encoding check this FAQ item out: http://wiki.moxiecode.com/index.php/Tin … en_text.3F

Hi, spocke, it can't be that.
I had the same platform with TinyMCE v3.0.0 and it was working.
It was just when i upgraded to 3.0.6. that this problems appears.

Best regards,
andreus

38

Re: TinyMCE 3.0.6 Released

Works perfectly fine when I try it: http://tinymce.moxiecode.com/tinymce/ex … _test.html might be some server encoding problem since I can not reproduce this issue.

Best regards,
Spocke - Main developer of TinyMCE

39

Re: TinyMCE 3.0.6 Released

Can you tell me what version of Javascript is required for TinyMCE?

40

Re: TinyMCE 3.0.6 Released

richcon wrote:

I'm getting a problem in TinyMCE 3.0.6.2, in two different browsers (Safari and Firefox):

when I attempt to add/edit a link, the popup window doesn't have the correct field labels; instead, the window title is "{#advanced_dlg.link_title}", the URL label is "{#advanced_dlg.link_url}", etc. It seems like some function to switch these identifiers with the actual text labels isn't being run?

When I click "Insert", nothing happens except that the popup's input fields are cleared.

Any ideas, is there someplace I can look to figure out how to correct this?

Thanks!

I was having the same problem - it happened on any button that opened a new window.

The problem was coming from my .htaccess, I use a rewrite rule to make flat links and keep my directory structure simple. The file
/tiny_mce/themes/advanced/js/link.js
was getting re-routed to just
link.js

I added an exception in the .htaccess and it works great now.

make sure you can browse to the /tiny_mce/themes/advanced/js/link.js file (or any of the .js files in /tiny_mce/themes/advanced/js/ )
if they're missing or getting redirected that's probably what's wrong.