parent
6e21229b4c
commit
e073d58169
|
@ -2765,7 +2765,7 @@ _extend(KCmd, {
|
|||
sel.addRange(rng);
|
||||
if (doc !== document) {
|
||||
var pos = K(rng.endContainer).pos();
|
||||
win.scrollTo(pos.x, pos.y);
|
||||
//win.scrollTo(pos.x, pos.y);
|
||||
}
|
||||
}
|
||||
win.focus();
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
.ke-content {
|
||||
font-size: 10pt;
|
||||
font-family:Tahoma;
|
||||
}
|
||||
.ke-content pre {
|
||||
font-size:9pt;
|
||||
|
|
|
@ -98,6 +98,9 @@ KindEditor.plugin('image', function(K) {
|
|||
yesBtn : {
|
||||
name : self.lang('yes'),
|
||||
click : function(e) {
|
||||
if(/^\s*<\w*\s*\w*\=\"\w*\"\s*\w*\=\"\w*\:\s*\#\d*\;\s*\w*\-\w*\:\s*\w*\;\"\>[\u4e00-\u9fa5]*<\/\w*\>\s*$/.test(self.edit.html())){
|
||||
self.edit.html('');
|
||||
}
|
||||
// Bugfix: http://code.google.com/p/kindeditor/issues/detail?id=319
|
||||
if (dialog.isLoading) {
|
||||
return;
|
||||
|
|
|
@ -47,6 +47,9 @@ KindEditor.plugin('media', function(K) {
|
|||
yesBtn : {
|
||||
name : self.lang('yes'),
|
||||
click : function(e) {
|
||||
if(/^\s*<\w*\s*\w*\=\"\w*\"\s*\w*\=\"\w*\:\s*\#\d*\;\s*\w*\-\w*\:\s*\w*\;\"\>[\u4e00-\u9fa5]*<\/\w*\>\s*$/.test(self.edit.html())){
|
||||
self.edit.html('');
|
||||
}
|
||||
var url = K.trim(urlBox.val()),
|
||||
width = widthBox.val(),
|
||||
height = heightBox.val();
|
||||
|
|
|
@ -25,7 +25,7 @@ KindEditor.plugin('preview', function(K) {
|
|||
doc.open();
|
||||
doc.write(self.fullHtml());
|
||||
doc.close();
|
||||
K(doc.body).css('background-color', '#FFF');
|
||||
K(doc.body).css({'background-color': '#FFF','word-break':'break-all','word-wrap':'wrap-all'});
|
||||
iframe[0].contentWindow.focus();
|
||||
});
|
||||
});
|
||||
|
|
|
@ -129,6 +129,9 @@ KindEditor.plugin('table', function(K) {
|
|||
yesBtn : {
|
||||
name : self.lang('yes'),
|
||||
click : function(e) {
|
||||
if(/^\s*<\w*\s*\w*\=\"\w*\"\s*\w*\=\"\w*\:\s*\#\d*\;\s*\w*\-\w*\:\s*\w*\;\"\>[\u4e00-\u9fa5]*<\/\w*\>\s*$/.test(self.edit.html())){
|
||||
self.edit.html('');
|
||||
}
|
||||
var rows = rowsBox.val(),
|
||||
cols = colsBox.val(),
|
||||
width = widthBox.val(),
|
||||
|
|
|
@ -32,9 +32,9 @@ table{ background:#fff;}
|
|||
.min_search{ width:150px; height:20px; border:1px solid #d0d0d0; color:#666; background:url(../images/public_icon.png) 135px -193px no-repeat; cursor:pointer;}
|
||||
.db {display:block;}
|
||||
/* font & color */
|
||||
h2{ font-size:18px; color:#269ac9;}
|
||||
h3{ font-size:14px; color:#e8770d;}
|
||||
h4{ font-size:14px; color:#3b3b3b;}
|
||||
h2{ font-size:18px; } /*color:#269ac9;*/
|
||||
h3{ font-size:14px;}/* color:#e8770d;*/
|
||||
h4{ font-size:14px; }/*color:#3b3b3b;*/
|
||||
.f12{font-size:12px; font-weight:normal;}
|
||||
.f14{font-size:14px;}
|
||||
.f16{font-size:16px;}
|
||||
|
|
Loading…
Reference in New Issue