ICEfaces
  1. ICEfaces
  2. ICE-9691

ace:richtextEntry - Save button is not rendered for the default toolbar/skin

    Details

    • Assignee Priority:
      P2
    • Salesforce Case Reference:
    • Workaround Exists:
      Yes
    • Workaround Description:
      Define a Custom toolbar implementation.

      Description

      The Save button is not rendered for the default toolbar and skin defined for the ace:richTextEntry.
      1. No-Save-Button.jpg
        37 kB

        Activity

        Hide
        Arran Mccullough added a comment -

        Attached test case and screen shot showing the issue. Note: the icefaces.jar, icefaces-ace.jar, and icefaces-compat.jar need to be added into the war to run.

        Load welcomeICEfaces.jsf to see the issue.

        Show
        Arran Mccullough added a comment - Attached test case and screen shot showing the issue. Note: the icefaces.jar, icefaces-ace.jar, and icefaces-compat.jar need to be added into the war to run. Load welcomeICEfaces.jsf to see the issue.
        Hide
        Arturo Zambrano added a comment - - edited

        Committed fix to 3.3 EE maintenance branch at revision 38888 and to 4.0 trunk at revision 38889.

        The problem actually happened only when using mandatoryResourceConfiguration=all. This was causing the scripts for ace:richTextEntry and ice:inputRichText to be both loaded on the page. Whichever came last was overriding the 'extraPlugins' configuration of the CKEditor, which caused the registered custom save buttons to be unregistered. This was fixed by adding a check for existing extra plugins and then simply appending the name of the plugin that is to be registered by the script.

        Show
        Arturo Zambrano added a comment - - edited Committed fix to 3.3 EE maintenance branch at revision 38888 and to 4.0 trunk at revision 38889. The problem actually happened only when using mandatoryResourceConfiguration=all. This was causing the scripts for ace:richTextEntry and ice:inputRichText to be both loaded on the page. Whichever came last was overriding the 'extraPlugins' configuration of the CKEditor, which caused the registered custom save buttons to be unregistered. This was fixed by adding a check for existing extra plugins and then simply appending the name of the plugin that is to be registered by the script.

          People

          • Assignee:
            Arturo Zambrano
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: