diff --git a/modules/editor/skins/xeed/js/xeed.js b/modules/editor/skins/xeed/js/xeed.js index 918c810a0..e001aea3b 100644 --- a/modules/editor/skins/xeed/js/xeed.js +++ b/modules/editor/skins/xeed/js/xeed.js @@ -117,6 +117,7 @@ Xeed = xe.createApp('Xeed', { this.registerPlugin(new Clear); // set content + if (!content) content = '
'; setTimeout(function(){ self.cast('SET_CONTENT', [content]) }, 0); }, @@ -376,6 +377,7 @@ Xeed = xe.createApp('Xeed', { if (sel) return; + if (!this.$richedit.html()) this.cast('SET_CONTENT', ['
']); this.$richedit.focus(); },