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.
- package/bundles/ps-toolkit-ui.umd.js +11 -9
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/components/form/ckeditor/form.ckeditor.component.js +13 -11
- package/fesm2015/ps-toolkit-ui.js +11 -9
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -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
|
};
|