Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-11164

Some rich:editor attributes are not working correctly

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.0.0.Final
    • Fix Version/s: 4.1.0.Milestone1
    • Component/s: cdk
    • Labels:
      None

      Description

      1.) TITLE: Title attribute don't affect editor. This value is set only to textarea element, but since this element is not visible, and next element (span) constains whole editor, this attribute should be set here as well (there is only empty title attribute. When set value here, it is displayed when mouseover on editor)

      2.) STYLE: Value set to style attribute is ignored - if set, nowhere in span containing editor is present. Note: styleClass attribute is processed correct (or as expected - when set, value is added to class attribute in container span)

      3.) HEIGHT/WIDTH: Another problem is with "width" and "height" attribute.
      When set one of this two attributes, editor size changes - but to the same height/width for any value set.
      I have tried set height/width from 3, though 33 to 333. Between every change I refreshed page, so for every test I changed empty value in Metamer height/width input for fresh page with editor component, and get the same size for editor component - not depending on value I set.
      The same behavior for height as for width.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                lfryc Lukáš Fryč
                Reporter:
                jjamrich Ján Jamrich
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: