1. #111
    Ext User
    Join Date
    Apr 2007
    Posts
    36
    Vote Rating
    0
    Pagebaker is on a distinguished road

      0  

    Default


    Quote Originally Posted by xor View Post
    Pagebaker,

    I glad you like this component. 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?
    Well i was building a custom file/image manager callback. Default tiny wants you to load it in an iframe. Since I'm using Ext I don't want my dataview etc be loaded into an iframe.

  2. #112
    Sencha User
    Join Date
    May 2007
    Location
    The Netherlands
    Posts
    187
    Vote Rating
    1
    mschering is on a distinguished road

      0  

    Default


    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. #113
    Ext JS Premium Member
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    686
    Vote Rating
    22
    Dumbledore will become famous soon enough Dumbledore will become famous soon enough

      0  

    Default


    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:

    Code:
    Ext.fly( 'menu_' + this.id ).setStyle( "z-index", 12000 );
    in

    Code:
    Ext.fly( 'menu_' + this.id ).setStyle( "z-index", 200001);
    Without that you can

  4. #114
    Sencha User
    Join Date
    Apr 2007
    Location
    Yaroslavl, Russia
    Posts
    185
    Vote Rating
    0
    xor is on a distinguished road

      0  

    Default


    Quote Originally Posted by mschering View Post
    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.
    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 ));
    Andrew Mayorov (blog)
    BYTE-force
    We can provide paid remote consultancy on ExtJS or our components.

  5. #115
    Sencha User
    Join Date
    Apr 2007
    Location
    Yaroslavl, Russia
    Posts
    185
    Vote Rating
    0
    xor is on a distinguished road

      0  

    Default


    Quote Originally Posted by Dumbledore View Post
    here is a small fix for a z-index problem of contextmenus in TinyMCE when use the IE...
    Thanks! Integrated it into the trunk.
    Andrew Mayorov (blog)
    BYTE-force
    We can provide paid remote consultancy on ExtJS or our components.

  6. #116
    Sencha User
    Join Date
    May 2007
    Location
    The Netherlands
    Posts
    187
    Vote Rating
    1
    mschering is on a distinguished road

      0  

    Default


    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

  7. #117
    Sencha User
    Join Date
    Apr 2007
    Location
    Yaroslavl, Russia
    Posts
    185
    Vote Rating
    0
    xor is on a distinguished road

      0  

    Default


    Quote Originally Posted by mschering View Post
    What about the toolbar that isn't updated?
    This was caused by the same reason. So change the event and both styles combo would work, and appropriate buttons should be highlighted.
    Andrew Mayorov (blog)
    BYTE-force
    We can provide paid remote consultancy on ExtJS or our components.

  8. #118
    Sencha User
    Join Date
    May 2007
    Location
    The Netherlands
    Posts
    187
    Vote Rating
    1
    mschering is on a distinguished road

      0  

    Default


    Quote Originally Posted by xor View Post
    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 ));

    Yes this works, only now I don't have Ext windows anymore when I insert a link for example.
    Building Group-Office (http://www.group-office.com) with ExtJS: http://http://demo.group-office.eu user: demo / pass: demo

  9. #119
    Sencha User
    Join Date
    May 2007
    Location
    The Netherlands
    Posts
    187
    Vote Rating
    1
    mschering is on a distinguished road

      0  

    Default


    I changed it into two events and now it works:

    PHP Code:
    this.ed.onBeforeRenderUI.add( function( edcontrolManager ){
                        
    // Replace control manager
                        
    ed.controlManager = new ControlManagerthised );
                        
    // Change window manager
                        //ed.windowManager = new WindowManager( this.ed );
                    
    }.createDelegatethis ));
                    
                    
    this.ed.onPostRender.add( function( edcontrolManager ){
                        
    // Replace control manager
                        //ed.controlManager = new ControlManager( this, ed );
                        // Change window manager
                        
    ed.windowManager = new WindowManagerthis.ed );
                    }.
    createDelegatethis )); 
    Building Group-Office (http://www.group-office.com) with ExtJS: http://http://demo.group-office.eu user: demo / pass: demo

  10. #120
    Sencha User
    Join Date
    Apr 2007
    Location
    Yaroslavl, Russia
    Posts
    185
    Vote Rating
    0
    xor is on a distinguished road

      0  

    Default


    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)?
    Andrew Mayorov (blog)
    BYTE-force
    We can provide paid remote consultancy on ExtJS or our components.

Thread Participants: 128

  1. galdaka (1 Post)
  2. Dumbledore (26 Posts)
  3. mystix (1 Post)
  4. dawesi (1 Post)
  5. albeva (7 Posts)
  6. ludoo (1 Post)
  7. bloudon (2 Posts)
  8. MarkB (4 Posts)
  9. Cipher (2 Posts)
  10. Hani (3 Posts)
  11. Pagebaker (2 Posts)
  12. DigitalSkyline (1 Post)
  13. thesilentman (5 Posts)
  14. marcing (1 Post)
  15. mschering (5 Posts)
  16. Konstantin (1 Post)
  17. temporary (1 Post)
  18. tobiu (1 Post)
  19. billeatman (1 Post)
  20. kmiyashiro (2 Posts)
  21. cmendez21 (4 Posts)
  22. 6epcepk (2 Posts)
  23. ZooKeeper (6 Posts)
  24. Yossi (5 Posts)
  25. JNason (4 Posts)
  26. ko0kiE (1 Post)
  27. Fredric Berling (2 Posts)
  28. Dongluan (2 Posts)
  29. w011117 (4 Posts)
  30. cnelissen (5 Posts)
  31. cmarin (2 Posts)
  32. lvanderree (21 Posts)
  33. kavih7 (4 Posts)
  34. hjf1223 (1 Post)
  35. AVerta (2 Posts)
  36. MuratCorlu (1 Post)
  37. vironitronox (1 Post)
  38. saJoshua (1 Post)
  39. Kannabismus (1 Post)
  40. supawat (1 Post)
  41. nikatwork (3 Posts)
  42. scipio (1 Post)
  43. neenhouse (2 Posts)
  44. tfrugia (2 Posts)
  45. asugama (2 Posts)
  46. liuliming (1 Post)
  47. marco76 (1 Post)
  48. yaroslav (1 Post)
  49. dverkade (1 Post)
  50. scottco (1 Post)
  51. broutard (1 Post)
  52. cybertaz (2 Posts)
  53. jwendt@iscinternational.com (1 Post)
  54. kai5263499 (1 Post)
  55. sirioz10 (6 Posts)
  56. jenner (5 Posts)
  57. EMP (1 Post)
  58. joao_candido (2 Posts)
  59. uros (1 Post)
  60. craigharmonic (3 Posts)
  61. serff (1 Post)
  62. vishee (4 Posts)
  63. walldorff (3 Posts)
  64. blow (1 Post)
  65. genius3k (1 Post)
  66. ehask71 (2 Posts)
  67. pauleee (1 Post)
  68. illuminum (1 Post)
  69. basti (1 Post)
  70. Qtx (1 Post)
  71. Cravi (1 Post)
  72. uwolfer (5 Posts)
  73. sseema (1 Post)
  74. alex-t.de (1 Post)
  75. Denny Crane (2 Posts)
  76. lucasmarin (1 Post)
  77. dayext (1 Post)
  78. adamadax (2 Posts)
  79. ben_dog (2 Posts)
  80. paulyb263 (1 Post)
  81. iLoLo21 (2 Posts)
  82. queej (5 Posts)
  83. arnab_ghosh (2 Posts)
  84. vanadium (1 Post)
  85. emmadi (5 Posts)
  86. pablitobs (4 Posts)
  87. mstroeve (2 Posts)
  88. mschwartz (5 Posts)
  89. armagedon (1 Post)
  90. Stju (3 Posts)
  91. elderotaku (1 Post)
  92. ahwin (6 Posts)
  93. lakilevi (2 Posts)
  94. zeos (1 Post)
  95. sergiu079 (1 Post)
  96. Toon (2 Posts)
  97. Jangla (4 Posts)
  98. mjh (3 Posts)
  99. treadmill (3 Posts)
  100. joejernst (2 Posts)
  101. alumb (1 Post)
  102. Aniruddha (1 Post)
  103. hansl1963 (5 Posts)
  104. andynuss (9 Posts)
  105. davidbuzatto (3 Posts)
  106. slsmithtx (2 Posts)
  107. asagala (11 Posts)
  108. juste_millieu (1 Post)
  109. skunk (2 Posts)
  110. mrjoltcola (1 Post)
  111. damo (2 Posts)
  112. ivanatora (3 Posts)
  113. JeanNiBee (2 Posts)
  114. lj2008 (1 Post)
  115. countdown (1 Post)
  116. cstansbury (2 Posts)
  117. Boxcopter (1 Post)
  118. mjbohn (3 Posts)
  119. ajlaluan (1 Post)
  120. Tpona (1 Post)
  121. omerfarooq123 (2 Posts)
  122. sraghavachari (1 Post)
  123. jorgelive (1 Post)
  124. wboard (2 Posts)
  125. wpoosanguansit (1 Post)
  126. DaviPresentia (1 Post)
  127. aa0 (1 Post)
  128. odaihatim (1 Post)