[Building Sakai] CKEditor paste from word

Sanghyun Jeon euksa99 at gmail.com
Wed Jun 11 10:59:24 PDT 2014


We are using Sakai 2.9.3 and CKEditor

When I try to add our faculty's syllabus via using the icon "paste from
word" in CKeditor, I get the following security error. If I ignore the
error and click Post again, it works. Below is my security setting and all
commented out for antisamy.
I've been informed that upgrading CKEditor or Sakai 2.10 will resolve many
CKEditor issue at Sakai conference. However, we are not able to upgrade
CKEditor or Sakai version at this moment. Is there anyway I can
relieve/resolve this issue?

Thank you in advance.

S

# Force the use of the legacy html content processor (used in versions
before and including 2.9),
# if this is not overridden then the antisamy html cleaner will be used
# Default: true in 2.9.x and below (do not use AntiSamy), false in 2.10.x
and above (use AntiSamy)
#content.cleaner.use.legacy.html=false

# Force the user of a lower security profile for content processing and
scanning,
# if this is not overridden then high security settings are used.
# The standard high and low files are located in
"kernel/sakai-kernel-impl/src/main/resources/antisamy/"
# Override the standard files by placing your own files in:
#       ${sakai.home}/antisamy/high-security-policy.xml
#       ${sakai.home}/antisamy/low-security-policy.xml
# NOTE: only works if AntiSamy is enabled (see
content.cleaner.use.legacy.html)
# Default: false (use high security - no unsafe embeds or objects)
#content.cleaner.default.low.security=true


Error: The h1 tag contained an attribute that we could not process. The
align attribute has been filtered out, but the tag is still in place. The
value of the attribute was "center". The a tag contained an attribute that
we could not process. The href attribute had a value of
"file:///C:/My%20Document1/Pomona/Sakai/Ticket/syllabus/SYLLABUS-Com-Eng-Ethics-Barcenas_Spring-2010_-FINAL_20140528100832_876387.docx#_ftn1".
This value could not be accepted for security reasons. We have chosen to
remove this attribute from the tag and leave everything else in place so
that we could process the input. The a tag contained an attribute that we
could not process. The href attribute had a value of
"file:///C:/My%20Document1/Pomona/Sakai/Ticket/syllabus/SYLLABUS-Com-Eng-Ethics-Barcenas_Spring-2010_-FINAL_20140528100832_876387.docx#_ftn2".
This value could not be accepted for security reasons. We have chosen to
remove this attribute from the tag and leave everything else in place so
that we could process the input. The h2 tag contained an attribute that we
could not process. The align attribute has been filtered out, but the tag
is still in place. The value of the attribute was "right". The h2 tag
contained an attribute that we could not process. The align attribute has
been filtered out, but the tag is still in place. The value of the
attribute was "right". The h2 tag contained an attribute that we could not
process. The align attribute has been filtered out, but the tag is still in
place. The value of the attribute was "right". The h2 tag contained an
attribute that we could not process. The align attribute has been filtered
out, but the tag is still in place. The value of the attribute was "right".
The table tag had a style attribute, "border", that could not be allowed
for security reasons. The table tag had a style attribute, "border", that
could not be allowed for security reasons. The table tag had a style
attribute, "border", that could not be allowed for security reasons. The br
tag contained an attribute that we could not process. The clear attribute
has been filtered out, but the tag is still in place. The value of the
attribute was "all". The hr tag contained an attribute that we could not
process. The align attribute has been filtered out, but the tag is still in
place. The value of the attribute was "left". The hr tag contained an
attribute that we could not process. The size attribute has been filtered
out, but the tag is still in place. The value of the attribute was "1". The
hr tag contained an attribute that we could not process. The width
attribute has been filtered out, but the tag is still in place. The value
of the attribute was "33%". The a tag contained an attribute that we could
not process. The href attribute had a value of
"file:///C:/My%20Document1/Pomona/Sakai/Ticket/syllabus/SYLLABUS-Com-Eng-Ethics-Barcenas_Spring-2010_-FINAL_20140528100832_876387.docx#_ftnref1".
This value could not be accepted for security reasons. We have chosen to
remove this attribute from the tag and leave everything else in place so
that we could process the input. The a tag contained an attribute that we
could not process. The href attribute had a value of
"file:///C:/My%20Document1/Pomona/Sakai/Ticket/syllabus/SYLLABUS-Com-Eng-Ethics-Barcenas_Spring-2010_-FINAL_20140528100832_876387.docx#_ftnref2".
This value could not be accepted for security reasons. We have chosen to
remove this attribute from the tag and leave everything else in place so
that we could process the input.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20140611/d977f00f/attachment.html 


More information about the sakai-dev mailing list