Skip to content

Commit

Permalink
update zkckeditor from 4.1.1.0 to 4.3.3.0-FL
Browse files Browse the repository at this point in the history
  • Loading branch information
huangnoah committed Mar 14, 2014
1 parent e84c58c commit 75ebbc6
Show file tree
Hide file tree
Showing 301 changed files with 3,131 additions and 126,642 deletions.
8 changes: 6 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,12 @@ codegen
*.class
javadoc
Thumbs.db
ckez/.classpath
ckez/.project
*.classpath
*.project
*.prefs
*.component
*.container
*.name
ckez/target/*
*/.settings/*.prefs
*/.settings/*.component
Expand Down
2 changes: 1 addition & 1 deletion ckez/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.zkoss.zkforge</groupId>
<artifactId>ckez</artifactId>
<version>4.1.1.0</version>
<version>4.3.3.0-FL</version>
<properties>
<zk.version>5.0.6</zk.version>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion ckez/src/archive/metainfo/zk/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Copyright (C) 2012 Potix Corporation. All Rights Reserved.

<version>
<version-class>org.zkforge.ckez.Version</version-class>
<version-uid>4.1.1.0</version-uid>
<version-uid>4.3.3.0-FL</version-uid>
<zk-version>5.0.6</zk-version><!-- or later -->
</version>

Expand Down
2 changes: 1 addition & 1 deletion ckez/src/archive/metainfo/zk/lang-addon.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Copyright (C) 2009 Potix Corporation. All Rights Reserved.

<version>
<version-class>org.zkforge.ckez.Version</version-class>
<version-uid>4.1.1.0</version-uid>
<version-uid>4.3.3.0-FL</version-uid>
<zk-version>5.0.6</zk-version><!-- or later -->
</version>

Expand Down
11 changes: 9 additions & 2 deletions ckez/src/archive/web/js/ckez/CKeditor.js
Original file line number Diff line number Diff line change
Expand Up @@ -393,8 +393,15 @@ ckez.CKeditor = zk.$extends(zul.Widget, {


if (!zk(wgt).isRealVisible) return;
selection = CKEDITOR.env.ie ? selection.getNative().createRange().text:
selection.getNative().toString();

// fix selection for ie11
if (CKEDITOR.env.ie && CKEDITOR.env.version < 11) {
selection = selection.getNative().createRange().text;
} else if (CKEDITOR.env.ie && CKEDITOR.env.version > 10) {
selection = document.getSelection();
} else {
selection = selection.getNative().toString();
}

if (selection == '') return;

Expand Down
2 changes: 1 addition & 1 deletion ckez/src/archive/web/js/ckez/ext/CKeditor/LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Software License Agreement
==========================

CKEditor - The text editor for Internet - http://ckeditor.com
Copyright (c) 2003-2013, CKSource - Frederico Knabben. All rights reserved.
Copyright (c) 2003-2014, CKSource - Frederico Knabben. All rights reserved.

Licensed under the terms of any of the following licenses at your
choice:
Expand Down
284 changes: 10 additions & 274 deletions ckez/src/archive/web/js/ckez/ext/CKeditor/adapters/jquery.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 75ebbc6

Please sign in to comment.