ps-toolkit-ui 1.7.69 → 1.7.70

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.
@@ -7653,18 +7653,20 @@
7653
7653
  function FormCkeditorComponent() {
7654
7654
  this.changeIndex = new core.EventEmitter();
7655
7655
  this.Editor = Editor__namespace;
7656
- Editor.create(document.querySelector('#editor'), {
7657
- toolbar: ['bold', 'italic']
7658
- })
7659
- .then(function (editor) {
7660
- console.log('Editor was initialized', editor);
7661
- })
7662
- .catch(function (error) {
7663
- console.error(error.stack);
7664
- });
7665
7656
  }
7666
7657
  FormCkeditorComponent.prototype.ngOnInit = function () {
7667
7658
  var _this = this;
7659
+ setTimeout(function () {
7660
+ Editor.create(document.querySelector('#editor'), {
7661
+ toolbar: ['bold', 'italic']
7662
+ })
7663
+ .then(function (editor) {
7664
+ console.log('Editor was initialized', editor);
7665
+ })
7666
+ .catch(function (error) {
7667
+ console.error(error.stack);
7668
+ });
7669
+ }, 3000);
7668
7670
  this.inp.setValue = function (v) {
7669
7671
  _this.inp.value = v;
7670
7672
  };