-
2 Jun 2008 4:40 AM #111
-
3 Jun 2008 3:49 AM #112
I like this extension very much, but there are some problems.
The toolbar doesn't update. When you put the cursor into a heading the toolbar isn't set to the heading. Same for fonts, bold italic etc.
The styles combo doesn't work. It generates an error c = not defined. This is all tested in firefox 3.0 beta 5. It all works in the normal tinymce demo but it doesn't work in the Ext.ux demo.Building Group-Office (http://www.group-office.com) with ExtJS: http://http://demo.group-office.eu user: demo / pass: demo
-
3 Jun 2008 11:49 PM #113
here is a small fix for a z-index problem of contextmenus in TinyMCE when use the IE
in createDropMenu and createColorSplitButton you must change:
inCode:Ext.fly( 'menu_' + this.id ).setStyle( "z-index", 12000 );
Without that you canCode:Ext.fly( 'menu_' + this.id ).setStyle( "z-index", 200001);
-
4 Jun 2008 1:45 AM #114
Thank you for this bug report. Problem is on the line 94 - I chosen the wrong event. It should look like this:
Code:this.ed.onBeforeRenderUI.add( function( ed, controlManager ){ // Replace control manager ed.controlManager = new ControlManager( this, ed ); // Change window manager ed.windowManager = new WindowManager( this.ed ); }.createDelegate( this ));
-
4 Jun 2008 1:46 AM #115
-
4 Jun 2008 2:42 AM #116
What about the toolbar that isn't updated?
Building Group-Office (http://www.group-office.com) with ExtJS: http://http://demo.group-office.eu user: demo / pass: demo
-
5 Jun 2008 12:45 AM #117
-
5 Jun 2008 4:00 AM #118
Building Group-Office (http://www.group-office.com) with ExtJS: http://http://demo.group-office.eu user: demo / pass: demo
-
5 Jun 2008 4:02 AM #119
I changed it into two events and now it works:
PHP Code:this.ed.onBeforeRenderUI.add( function( ed, controlManager ){
// Replace control manager
ed.controlManager = new ControlManager( this, ed );
// Change window manager
//ed.windowManager = new WindowManager( this.ed );
}.createDelegate( this ));
this.ed.onPostRender.add( function( ed, controlManager ){
// Replace control manager
//ed.controlManager = new ControlManager( this, ed );
// Change window manager
ed.windowManager = new WindowManager( this.ed );
}.createDelegate( this ));
Building Group-Office (http://www.group-office.com) with ExtJS: http://http://demo.group-office.eu user: demo / pass: demo
-
5 Jun 2008 4:08 AM #120
It's strange, because i've tested it here and it was working as expected. How do you work with the editor? Is it created in onReady event, or later in separate window. Maybe you can reproduce your situation in a test file (like one of mine)?






Can you explain in more details what are you getting with this scenario? Does it somehow differ from simply creating Ext.Window with your content?
Reply With Quote