Skip to content

Commit 4c94514

Browse files
committed
* fixes
1 parent 5e2f7cf commit 4c94514

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

assets/lang/zh.js renamed to assets/lang/zh_cn.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
(function ($) {
2-
$.Redactor.opts.langs['zh'] = {
2+
$.Redactor.opts.langs['zh_cn'] = {
33
html: 'HTML代码',
44
video: '视频',
55
image: '图片',

assets/redactor.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7728,6 +7728,11 @@
77287728
{
77297729
var node2 = this.selection.getMarker(2);
77307730
this.selection.setMarker(this.range, node2, false);
7731+
7732+
if (this.utils.browser('chrome'))
7733+
{
7734+
this.caret.set(node1, 0, node2, 0);
7735+
}
77317736
}
77327737

77337738
this.savedSel = this.$editor.html();

0 commit comments

Comments
 (0)