Change your config to theme_advanced_containers : 'row1,row2,row3,mceEditor,mceElementPath',
2011-04-11 15:36:07
alec
So, to make this working as documented here http://tinymce.moxiecode.com/wiki.php/Configuration:theme_advanced_container_container. The commit specified in the ticket szhould be reverted. However, we could improve this to support both syntax cases.
BTW, I've found related issue. Consider theme_advanced_containers : 'row1,row2,row3', where non of containers is the mceEditor. In that case js error is thrown "d is undefined" in line 10927 of tiny_mce.js (tinymce.Editor.setupIframe function).
2011-04-11 17:19:15
tan
@alec: It seems to work when I update my configurations with your suggestion, but I guess it will break other integrations out there which uses this functionality.
Support for both syntaxes sound like an good idea (mark the old syntax as deprecated for example)
2011-06-20 23:07:00
spocke
Could you provide me with an example that breaks and used to work so I can verify that we fix this one correctly?
Thanks
2011-06-21 07:27:39
alec
You've got it in my first comment. First three lines are from old config (not work now). The last line works now. Also take a look at the issue described in my second comment.
Comments
alec
theme_advanced_containers : 'row1,row2,row3,editorcontainer,statusbarcontainer',
theme_advanced_container_editorcontainer : 'mceEditor',
theme_advanced_container_statusbarcontainer : 'mceElementpath',
Change your config to theme_advanced_containers : 'row1,row2,row3,mceEditor,mceElementPath',
alec
So, to make this working as documented here http://tinymce.moxiecode.com/wiki.php/Configuration:theme_advanced_container_container. The commit specified in the ticket szhould be reverted. However, we could improve this to support both syntax cases.
BTW, I've found related issue. Consider theme_advanced_containers : 'row1,row2,row3', where non of containers is the mceEditor. In that case js error is thrown "d is undefined" in line 10927 of tiny_mce.js (tinymce.Editor.setupIframe function).
tan
@alec: It seems to work when I update my configurations with your suggestion, but I guess it will break other integrations out there which uses this functionality.
Support for both syntaxes sound like an good idea (mark the old syntax as deprecated for example)
spocke
Could you provide me with an example that breaks and used to work so I can verify that we fix this one correctly?
Thanks
alec
You've got it in my first comment. First three lines are from old config (not work now). The last line works now. Also take a look at the issue described in my second comment.
alec
Here you are , some combinations that throw errors:
http://fiddle.tinymce.com/Inbaab/1
http://fiddle.tinymce.com/Inbaab/2
http://fiddle.tinymce.com/Inbaab/3
http://fiddle.tinymce.com/Inbaab/4
http://fiddle.tinymce.com/Inbaab/5