ICEfaces
  1. ICEfaces
  2. ICE-9950

Add more CKEditor skins for ace:richTextEntry and ice:inputRichText

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      Any

      Description

      The recent update to CKEditor 4.3.3 (ICE-9731) comes with only one editor skin, which is different than the three skins that we previously had with versions 3.6.6.1 and earlier. It would be nice to offer some additional skins for the editor. There are some skins offered as add-ons on the CKEditor website:
      http://ckeditor.com/addons/skins/all

        Issue Links

          Activity

          Hide
          Arturo Zambrano added a comment -

          Added 6 CKEditor skins to the 4.0 trunk at revision 42055. The new skins are moonocolor, moonodark, moonoblue, office2013, kama, and bootstrap.

          For the purposes of the 4.0 release, this JIRA can be considered resolved.

          Show
          Arturo Zambrano added a comment - Added 6 CKEditor skins to the 4.0 trunk at revision 42055. The new skins are moonocolor, moonodark, moonoblue, office2013, kama, and bootstrap. For the purposes of the 4.0 release, this JIRA can be considered resolved.
          Hide
          Krashan Brahmanjara added a comment -

          Well done. I suggest change also default skin from moono to moonocolor or moonoblue.
          They look much better.
          BTW. In showcase skin change directly in richTextEntryOverview.xhtml didn't work until showcase restart.

          Show
          Krashan Brahmanjara added a comment - Well done. I suggest change also default skin from moono to moonocolor or moonoblue. They look much better. BTW. In showcase skin change directly in richTextEntryOverview.xhtml didn't work until showcase restart.
          Hide
          Deryk Sinotte added a comment -

          According to QA, the console is logging the following as a result of the new skins:

          Aug 05, 2014 11:41:21 AM com.sun.faces.context.ExternalContextImpl getMimeType
          WARNING: JSF1091: No mime type could be found for file richtextentry/ckeditor/skins/moono-dark/readme.md.  To resolve this, add a mime-type mapping to  the applications web.xml.
          Aug 05, 2014 11:41:21 AM com.sun.faces.context.ExternalContextImpl getMimeType
          WARNING: JSF1091: No mime type could be found for file richtextentry/ckeditor/skins/moono-dark/readme.md.  To resolve this, add a mime-type mapping to  the applications web.xml.
          Aug 05, 2014 11:41:21 AM com.sun.faces.context.ExternalContextImpl getMimeType
          WARNING: JSF1091: No mime type could be found for file richtextentry/ckeditor/skins/bootstrapck/readme.md.  To resolve this, add a mime-type mapping to the applications web.xml.
          Aug 05, 2014 11:41:21 AM com.sun.faces.context.ExternalContextImpl getMimeType
          WARNING: JSF1091: No mime type could be found for file richtextentry/ckeditor/skins/bootstrapck/readme.md.  To resolve this, add a mime-type mapping to the applications web.xml.
          Aug 05, 2014 11:41:21 AM com.sun.faces.context.ExternalContextImpl getMimeType
          WARNING: JSF1091: No mime type could be found for file richtextentry/ckeditor/skins/bootstrapck/scss/browser-specific/gecko/editor_gecko.scss.  To resolve this, add a mime-type mapping to the applications web.xml.
          Aug 05, 2014 11:41:21 AM com.sun.faces.context.ExternalContextImpl getMimeType
          WARNING: JSF1091: No mime type could be found for file richtextentry/ckeditor/skins/bootstrapck/scss/browser-specific/gecko/editor_gecko.scss.  To resolve this, add a mime-type mapping to the applications web.xml.......
          

          So it may be necessary to either remove the files if they are not needed or add these types to the showcase web.xml file:

          <mime-mapping>
              <extension>md</extension>
              <mime-type>text/x-markdown</mime-type>
          </mime-mapping>
          
          <mime-mapping>
              <extension>scss</extension>
              <mime-type>text/css</mime-type>
          </mime-mapping>
          
          Show
          Deryk Sinotte added a comment - According to QA, the console is logging the following as a result of the new skins: Aug 05, 2014 11:41:21 AM com.sun.faces.context.ExternalContextImpl getMimeType WARNING: JSF1091: No mime type could be found for file richtextentry/ckeditor/skins/moono-dark/readme.md. To resolve this, add a mime-type mapping to the applications web.xml. Aug 05, 2014 11:41:21 AM com.sun.faces.context.ExternalContextImpl getMimeType WARNING: JSF1091: No mime type could be found for file richtextentry/ckeditor/skins/moono-dark/readme.md. To resolve this, add a mime-type mapping to the applications web.xml. Aug 05, 2014 11:41:21 AM com.sun.faces.context.ExternalContextImpl getMimeType WARNING: JSF1091: No mime type could be found for file richtextentry/ckeditor/skins/bootstrapck/readme.md. To resolve this, add a mime-type mapping to the applications web.xml. Aug 05, 2014 11:41:21 AM com.sun.faces.context.ExternalContextImpl getMimeType WARNING: JSF1091: No mime type could be found for file richtextentry/ckeditor/skins/bootstrapck/readme.md. To resolve this, add a mime-type mapping to the applications web.xml. Aug 05, 2014 11:41:21 AM com.sun.faces.context.ExternalContextImpl getMimeType WARNING: JSF1091: No mime type could be found for file richtextentry/ckeditor/skins/bootstrapck/scss/browser-specific/gecko/editor_gecko.scss. To resolve this, add a mime-type mapping to the applications web.xml. Aug 05, 2014 11:41:21 AM com.sun.faces.context.ExternalContextImpl getMimeType WARNING: JSF1091: No mime type could be found for file richtextentry/ckeditor/skins/bootstrapck/scss/browser-specific/gecko/editor_gecko.scss. To resolve this, add a mime-type mapping to the applications web.xml....... So it may be necessary to either remove the files if they are not needed or add these types to the showcase web.xml file: <mime-mapping> <extension>md</extension> <mime-type>text/x-markdown</mime-type> </mime-mapping> <mime-mapping> <extension>scss</extension> <mime-type>text/css</mime-type> </mime-mapping>
          Hide
          Deryk Sinotte added a comment -

          Also the documentation should be updated to reflect the new set of skins that are available:

          http://www.icesoft.org/wiki/display/ICE/RichTextEntry

          Show
          Deryk Sinotte added a comment - Also the documentation should be updated to reflect the new set of skins that are available: http://www.icesoft.org/wiki/display/ICE/RichTextEntry
          Hide
          Deryk Sinotte added a comment -

          Krashan Brahmanjara I was able to change the skin attribute in the page and simply reload in the browser. No restart required. Perhaps you need to force reload to avoid the cache.

          Show
          Deryk Sinotte added a comment - Krashan Brahmanjara I was able to change the skin attribute in the page and simply reload in the browser. No restart required. Perhaps you need to force reload to avoid the cache.
          Hide
          Liana Munroe added a comment -

          Server warnings are no longer seen. ICEfaces 4 trunk r42880. Tomcat 7, IE 11, FF 31, Chrome 37.

          Show
          Liana Munroe added a comment - Server warnings are no longer seen. ICEfaces 4 trunk r42880. Tomcat 7, IE 11, FF 31, Chrome 37.
          Hide
          Ken Fyten added a comment -

          Assigned to Art for 4.0 to update richTextEntry wiki docs to indicate additional skins.

          Show
          Ken Fyten added a comment - Assigned to Art for 4.0 to update richTextEntry wiki docs to indicate additional skins.
          Hide
          Arturo Zambrano added a comment -

          Updated wiki docs for ace:richTextEntry to include the new skins in ICEfaces 4.0, also updated URLs for the CKEditor 4.3.3 API and keyboard shortcuts.

          Show
          Arturo Zambrano added a comment - Updated wiki docs for ace:richTextEntry to include the new skins in ICEfaces 4.0, also updated URLs for the CKEditor 4.3.3 API and keyboard shortcuts.

            People

            • Assignee:
              Arturo Zambrano
              Reporter:
              Arturo Zambrano
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: