@hailin-zheng/editor-core 2.0.40 → 2.0.41

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.js CHANGED
@@ -4113,9 +4113,7 @@ class DocumentFooterRenderObject extends BlockContainerRenderObject {
4113
4113
  }
4114
4114
  exportHTML(event) {
4115
4115
  const t = super.exportHTML(event);
4116
- if (this.element.disableClick && event.mode === 'view') {
4117
- t.data.attrs.opacity = 0.5;
4118
- }
4116
+ if (this.element.disableClick && event.mode === 'view') ;
4119
4117
  if (event.options.printHeaderFooterLine) {
4120
4118
  t.children = [{
4121
4119
  sel: 'path',
@@ -4245,9 +4243,9 @@ class DocumentHeaderRenderObject extends BlockContainerRenderObject {
4245
4243
  },
4246
4244
  children: []
4247
4245
  };
4248
- if (this.element.disableClick && event.mode === 'view') {
4249
- t.data.attrs.opacity = 0.5;
4250
- }
4246
+ // if (this.element.disableClick && event.mode === 'view') {
4247
+ // t.data.attrs.opacity = 0.5;
4248
+ // }
4251
4249
  if (headerLine) {
4252
4250
  t.children = [headerLine];
4253
4251
  }
@@ -28330,7 +28328,7 @@ class DocEditor {
28330
28328
  rule.setRuleOptions({ width: this.viewOptions.docPageSettings.width, pagePL, pagePR, docLeft });
28331
28329
  }
28332
28330
  version() {
28333
- return "2.0.40";
28331
+ return "2.0.41";
28334
28332
  }
28335
28333
  }
28336
28334