matcha-components 20.249.0 → 20.250.0

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.
@@ -14790,7 +14790,7 @@ class MatchaTextEditorComponent {
14790
14790
  const v = value || '';
14791
14791
  this._isSettingValue = true;
14792
14792
  if (this._editor && this._editorReady) {
14793
- this._editor.html.set(v);
14793
+ this._editor.$.html.set(v);
14794
14794
  }
14795
14795
  else {
14796
14796
  this._pendingValue = v;
@@ -14810,7 +14810,7 @@ class MatchaTextEditorComponent {
14810
14810
  isDisabled ? this._editor.toolbar.disable() : this._editor.toolbar.enable();
14811
14811
  }
14812
14812
  insertHtml(html) {
14813
- this._editor?.html.insert(html);
14813
+ this._editor?.$.html.insert(html);
14814
14814
  }
14815
14815
  // Private
14816
14816
  _injectScript(id, url) {
@@ -14865,7 +14865,7 @@ class MatchaTextEditorComponent {
14865
14865
  await this._injectScript('suneditor-lang-ptbr', `${CDN_BASE}/langs/pt-br.js`);
14866
14866
  }
14867
14867
  _reloadEditor() {
14868
- const content = this._editor?.html.get() ?? '';
14868
+ const content = this._editor?.$.html.get() ?? '';
14869
14869
  this._editor?.destroy();
14870
14870
  this._editor = null;
14871
14871
  this._editorReady = false;
@@ -14917,7 +14917,7 @@ class MatchaTextEditorComponent {
14917
14917
  this._editorReady = true;
14918
14918
  if (this._pendingValue) {
14919
14919
  this._isSettingValue = true;
14920
- this._editor.html.set(this._pendingValue);
14920
+ this._editor.$.html.set(this._pendingValue);
14921
14921
  this._pendingValue = '';
14922
14922
  setTimeout(() => { this._isSettingValue = false; }, 0);
14923
14923
  }