edit
This commit is contained in:
parent
7751d98324
commit
593e06ffe7
|
@ -1,9 +1,9 @@
|
|||
/*基础UI构建
|
||||
*/
|
||||
/* common layer */
|
||||
.edui-default {
|
||||
/* .edui-default {
|
||||
z-index: 9999 !important;
|
||||
}
|
||||
} */
|
||||
.edui-default .edui-box {
|
||||
border: none;
|
||||
padding: 0;
|
||||
|
|
|
@ -204,8 +204,7 @@ var browser = UE.browser = function(){
|
|||
// Gecko.
|
||||
if (browser.gecko) {
|
||||
var geckoRelease = agent.match(/rv:([\d\.]+)/);
|
||||
if ( geckoRelease )
|
||||
{
|
||||
if (geckoRelease) {
|
||||
geckoRelease = geckoRelease[1].split('.');
|
||||
version = geckoRelease[0] * 10000 + (geckoRelease[1] || 0) * 100 + (geckoRelease[2] || 0) * 1;
|
||||
}
|
||||
|
@ -10172,7 +10171,6 @@ UE.plugins['defaultfilter'] = function () {
|
|||
})
|
||||
}
|
||||
break;
|
||||
break;
|
||||
case 'span':
|
||||
val = node.getAttr('id');
|
||||
if (val && /^_baidu_bookmark_/i.test(val)) {
|
||||
|
@ -10476,7 +10474,8 @@ UE.commands['inserthtml'] = {
|
|||
|
||||
UE.plugins['autotypeset'] = function () {
|
||||
|
||||
this.setOpt({'autotypeset': {
|
||||
this.setOpt({
|
||||
'autotypeset': {
|
||||
mergeEmptyline: true, //合并空行
|
||||
removeClass: true, //去掉冗余的class
|
||||
removeEmptyline: false, //去掉空行
|
||||
|
@ -10492,7 +10491,8 @@ UE.plugins['autotypeset'] = function(){
|
|||
indentValue: '2em', //行首缩进的大小
|
||||
bdc2sb: false,
|
||||
tobdc: false
|
||||
}});
|
||||
}
|
||||
});
|
||||
|
||||
var me = this,
|
||||
opt = me.options.autotypeset,
|
||||
|
@ -23060,12 +23060,14 @@ UE.plugin.register('searchreplace',function(){
|
|||
*/
|
||||
UE.plugins['customstyle'] = function () {
|
||||
var me = this;
|
||||
me.setOpt({ 'customstyle':[
|
||||
me.setOpt({
|
||||
'customstyle': [
|
||||
{ tag: 'h1', name: 'tc', style: 'font-size:32px;font-weight:bold;border-bottom:#ccc 2px solid;padding:0 4px 0 0;text-align:center;margin:0 0 20px 0;' },
|
||||
{ tag: 'h1', name: 'tl', style: 'font-size:32px;font-weight:bold;border-bottom:#ccc 2px solid;padding:0 4px 0 0;text-align:left;margin:0 0 10px 0;' },
|
||||
{ tag: 'span', name: 'im', style: 'font-size:16px;font-style:italic;font-weight:bold;line-height:18px;' },
|
||||
{ tag: 'span', name: 'hi', style: 'font-size:16px;font-style:italic;font-weight:bold;color:rgb(51, 153, 204);line-height:18px;' }
|
||||
]});
|
||||
]
|
||||
});
|
||||
me.commands['customstyle'] = {
|
||||
execCommand: function (cmdName, obj) {
|
||||
var me = this,
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue