3 Replies Latest reply on Feb 4, 2009 10:45 AM by Ralph Soika

    rich:editor - width can not be set to 100%

    Ralph Soika Apprentice


      direct TinyMCE support is a great new feature in RichFaces - Thanks a lot!

      But I run into a problem when I try to set the with to "100%".
      The attribute "width" can only be set to an integer value. So "100%" is not allowed here. Only absolute values. But my form supports a flexible width. So I want to set also the width of the rich:editor component to an percental value.

      I tried to overwrite the classes
      .richfacesSkin table.mceLayout

      And also I tried to define my own styleclass - but all with no effect.
      The component finally overwrites the width an hight attribute if you did not set it to absolute values.

      Has anybody a solution for this problem?