@hailin-zheng/editor-core 2.0.40 → 2.0.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index-cjs.js +5 -7
- package/index-cjs.js.map +1 -1
- package/index.js +5 -7
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index-cjs.js
CHANGED
@@ -4143,9 +4143,7 @@ class DocumentFooterRenderObject extends BlockContainerRenderObject {
|
|
4143
4143
|
}
|
4144
4144
|
exportHTML(event) {
|
4145
4145
|
const t = super.exportHTML(event);
|
4146
|
-
if (this.element.disableClick && event.mode === 'view')
|
4147
|
-
t.data.attrs.opacity = 0.5;
|
4148
|
-
}
|
4146
|
+
if (this.element.disableClick && event.mode === 'view') ;
|
4149
4147
|
if (event.options.printHeaderFooterLine) {
|
4150
4148
|
t.children = [{
|
4151
4149
|
sel: 'path',
|
@@ -4275,9 +4273,9 @@ class DocumentHeaderRenderObject extends BlockContainerRenderObject {
|
|
4275
4273
|
},
|
4276
4274
|
children: []
|
4277
4275
|
};
|
4278
|
-
if (this.element.disableClick && event.mode === 'view') {
|
4279
|
-
|
4280
|
-
}
|
4276
|
+
// if (this.element.disableClick && event.mode === 'view') {
|
4277
|
+
// t.data.attrs.opacity = 0.5;
|
4278
|
+
// }
|
4281
4279
|
if (headerLine) {
|
4282
4280
|
t.children = [headerLine];
|
4283
4281
|
}
|
@@ -28360,7 +28358,7 @@ class DocEditor {
|
|
28360
28358
|
rule.setRuleOptions({ width: this.viewOptions.docPageSettings.width, pagePL, pagePR, docLeft });
|
28361
28359
|
}
|
28362
28360
|
version() {
|
28363
|
-
return "2.0.
|
28361
|
+
return "2.0.42";
|
28364
28362
|
}
|
28365
28363
|
}
|
28366
28364
|
|