ICEfaces
  1. ICEfaces
  2. ICE-5995

Can't remove styling from inputRichText with saveOnSubmit=true in IE

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2-EE-GA_P01
    • Fix Version/s: 1.8.3, 1.8.2-EE-GA_P02, 2.0.0
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      IE

      Description

      When an inputRichText component has saveOnSubmit=true, adding style (Bold, Underline, Italics) to the text can't be reverted back once the style is applied.

      Steps to reproduce issue:
       - Type in some text into the text field.
       - Highlight the text.
       - Select the "B" to bold the selected text.
       - De-highlight the text.
       - Type in some more text.
       - Select all of the text in the field.
       - The "B" is highlighted but can't be turned off.

      This can be reproduced with the Italic Style button and the Underline style button. This can only be reproduced with saveOnSubmit=true and in IE.

      Sample code:

      <ice:inputRichText value="#{testBean.text}"
                                                     toolbar="Default"
                                                     saveOnSubmit="true"/>

        Activity

        Hide
        Ken Fyten added a comment -

        Please retest using latest icefaces/trunk.

        Show
        Ken Fyten added a comment - Please retest using latest icefaces/trunk.
        Hide
        Mandeep Hayher added a comment -

        Issues is reproducible on icefaces trunk revision# 22992, Tomcat6 & IE8

        Show
        Mandeep Hayher added a comment - Issues is reproducible on icefaces trunk revision# 22992, Tomcat6 & IE8
        Hide
        Mandeep Hayher added a comment -

        Issue is still reproducible on Icefaces trunk revision# 23027, Tomcat6 & IE8.

        Show
        Mandeep Hayher added a comment - Issue is still reproducible on Icefaces trunk revision# 23027, Tomcat6 & IE8.
        Hide
        Adnan Durrani added a comment -

        This FCK bug was fixed under this case, which was related to getData()
        http://dev.fckeditor.net/changeset/3882

        We did applied that patch already, and it is part of new FCK release 2.6.6. But there are still some issue with getXHTML() call.

        So instead of making getXHTML() call, we are extracting contents form the markup.

        Fix allied to trunk:

        Command: Commit
        Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\inputrichtext\fckeditor_ext.js
        Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\inputrichtext\fckeditor_ext.js
        Completed: At revision: 23049

        Show
        Adnan Durrani added a comment - This FCK bug was fixed under this case, which was related to getData() http://dev.fckeditor.net/changeset/3882 We did applied that patch already, and it is part of new FCK release 2.6.6. But there are still some issue with getXHTML() call. So instead of making getXHTML() call, we are extracting contents form the markup. Fix allied to trunk: Command: Commit Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\inputrichtext\fckeditor_ext.js Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\inputrichtext\fckeditor_ext.js Completed: At revision: 23049
        Hide
        Ken Fyten added a comment -

        Fix needs to be applied also the ICEfaces 2 compat variant of inputRichText.

        Show
        Ken Fyten added a comment - Fix needs to be applied also the ICEfaces 2 compat variant of inputRichText.
        Hide
        Adnan Durrani added a comment -

        Patch applied to compat

        Show
        Adnan Durrani added a comment - Patch applied to compat

          People

          • Assignee:
            Adnan Durrani
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: