Class ResourceModifier
java.lang.Object
org.primefaces.extensions.ckeditor.ResourceModifier
Steps to update:
- Delete all files in the src/main/resources/META-INF/resources/primefaces-extensions/ckeditor/ directory
- extract new ckeditor files
- remove samples dir
- Look for CRLF breaks the ckeditor.js such as tableselection.css that might break our parser
- Before executing ResourceModifier, modify the short hash (e.g t=L7C8) to match a new version of CKEditor
- Execute ResourceModifier
- Try to run CKEditor and observe if any error occurs on both browser console and server console
- The most common error is "Resources not found". If that's the case, please check if any new plugins's resources that
need to be modified then add new rules inside ResourceModifier if needed
- Re-run ResourceModifier
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic intindexOf(CharSequence seq, CharSequence searchSeq, int startPos) static booleanisEmpty(CharSequence cs) static voidstatic voidstatic String
-
Constructor Details
-
ResourceModifier
public ResourceModifier()
-
-
Method Details
-
main
- Throws:
IOException
-
indexOf
-
replace
-
isEmpty
-
log
-