1. #451
    Ext JS Premium Member
    Join Date
    Feb 2009
    Posts
    443
    Vote Rating
    3
    Jangla is on a distinguished road

      0  

    Default


    Seem to have found another issue; not sure if anyone else has this - we've set up our instance to have the styles drop down with custom class names for each selection.

    So the relevant portion of our config looks like this:

    Code:
    ...
        style_formats : [
            {title : 'Heading', block : 'h1', classes: ['xTitle','xHeading']},
            {title : 'Byline', block : 'h2', classes: ['xTitle','xByline']},
            {title : 'Copy', block : 'p', classes: ['xCopy']}
        ],
    ...
    The problem is that when you select one style and then change to another, the class names of the old style are left in the html of the control. So selecting Heading and then Byline and then Copy as a style will result in HTML like this:

    Code:
    <p class="xTitle xHeading xByline xCopy">Lorem ipsum...</p>

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

      0  

    Default


    Jangla
    Please try how does it work in plain TinyMCE. I doubt that my component alters this behavior.
    Andrew Mayorov (blog)
    BYTE-force
    We can provide paid remote consultancy on ExtJS or our components.

  3. #453
    Sencha User queej's Avatar
    Join Date
    Aug 2008
    Location
    Ithaca, NY
    Posts
    144
    Vote Rating
    0
    queej is on a distinguished road

      0  

    Default


    Does anyone have a copy of the 0.8.2 version I can use? I need to be compatible with earlier versions of Ext and TinyMCE.
    Tripping the light fantastic.

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

      0  

    Default Version 0.8.2

    Version 0.8.2


    Here you are: version 0.8.2.
    Attached Files
    Andrew Mayorov (blog)
    BYTE-force
    We can provide paid remote consultancy on ExtJS or our components.

  5. #455
    Sencha User queej's Avatar
    Join Date
    Aug 2008
    Location
    Ithaca, NY
    Posts
    144
    Vote Rating
    0
    queej is on a distinguished road

      0  

    Default


    Thank you so much!
    Tripping the light fantastic.

  6. #456
    Ext JS Premium Member
    Join Date
    Jul 2009
    Posts
    122
    Vote Rating
    0
    andynuss is on a distinguished road

      0  

    Default


    Hi,

    When my tinymce form comes up, there is no font selected. It uses the default browser font.

    However, in the form box, you must have css that causes the point size to be much much smaller in the editor frame than when the resulting html is rendered in the browser. I.e. its not really wysiwyg for the no-font-selected case.

    Is there a way to overcome this, or to preselect one of the common browser fonts?

    Andy

  7. #457
    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 andynuss View Post
    When my tinymce form comes up, there is no font selected. It uses the default browser font.

    However, in the form box, you must have css that causes the point size to be much much smaller in the editor frame than when the resulting html is rendered in the browser. I.e. its not really wysiwyg for the no-font-selected case.

    Is there a way to overcome this, or to preselect one of the common browser fonts?
    Actually it is not a browser default font but rather editor's default font, which is specified in the editor's default CSS file. You can find it somewhere in the editor's directory. Currently I don't remember what is the name of it. But it is reflected in TinyMCE docs.

    So to change this behavior you have to specify CSS of your own. Again consult TinyMCE docs, there is a special configuration setting for this.
    Andrew Mayorov (blog)
    BYTE-force
    We can provide paid remote consultancy on ExtJS or our components.

  8. #458
    Sencha User JNason's Avatar
    Join Date
    Aug 2007
    Location
    Louisville
    Posts
    43
    Vote Rating
    0
    JNason is on a distinguished road

      0  

    Default


    I am having a problem with any split buttons added to tinymce when putting the editor in extjs. The popup the opens is out of alignment with the button. If I close the left panel of the viewport then it works correctly. Any suggestions as to where to look? See images...

    TINYMCE1.jpgTINYMCE2.jpg
    Attached Images

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

      0  

    Default


    @JNason
    Can you make a test page reproducing this bug?
    Andrew Mayorov (blog)
    BYTE-force
    We can provide paid remote consultancy on ExtJS or our components.

  10. #460
    Sencha User JNason's Avatar
    Join Date
    Aug 2007
    Location
    Louisville
    Posts
    43
    Vote Rating
    0
    JNason is on a distinguished road

      0  

    Default


    I will see what I can do to create a working example that shows the bug. Thanks.

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)