tnx-shared 5.3.267 → 5.3.269

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.
@@ -1651,6 +1651,7 @@
1651
1651
  _this.ignoreWorkflow = false;
1652
1652
  _this.rowButtonTemplate = null;
1653
1653
  _this.rowButtonBeforeTemplate = null;
1654
+ _this.hiddenPageSetting = false;
1654
1655
  for (var key in init) {
1655
1656
  _this[key] = init[key];
1656
1657
  }
@@ -46970,6 +46971,7 @@
46970
46971
  this.setting.hiddenAdvanceSearch = this.control.hiddenAdvanceSearch;
46971
46972
  this.setting.fieldSearchText = this.control.fieldSearchText;
46972
46973
  this.setting.showEditLink = !this.readOnly;
46974
+ this.setting.hiddenPageSetting = this.control.hiddenPageSetting;
46973
46975
  this.plusUrl = this.control.plusUrl;
46974
46976
  // Todo: HieuND
46975
46977
  this.control.columns.forEach(function (column) {
@@ -53180,6 +53182,9 @@
53180
53182
  config.toolbar = false;
53181
53183
  config.mobile.toolbar = false;
53182
53184
  }
53185
+ if (this.control.isFullPage && !config.plugins.some(function (x) { return x.includes('fullpage'); })) {
53186
+ config.plugins[0] += ' fullpage';
53187
+ }
53183
53188
  setTimeout(function () {
53184
53189
  tinymce.init(config);
53185
53190
  });
@@ -53393,9 +53398,6 @@
53393
53398
  // config.toolbar = 'formatselect | bold italic Strikethrough forecolor backcolor| alignleft aligncenter alignright alignjustify | bullist numlist';
53394
53399
  config.toolbar = 'bold italic Strikethrough forecolor backcolor | bullist numlist | fullscreen';
53395
53400
  }
53396
- if ($this.control.isFullPage && !config.some(function (x) { return x == 'fullpage'; })) {
53397
- config.plugins.push(' fullpage');
53398
- }
53399
53401
  config.paste_data_images = true;
53400
53402
  return config;
53401
53403
  };