var content = this.html.get(true).replace('
Powered by Froala Editor
', ''); globalobject = this; console.log(content); parent.froalaContentChange(this.$box.attr('data-id'), content); focus : function() { if (typeof(this.$box.attr('data-id')) != "undefined") { var section_id = this.$box.attr('data-id').split('|')[2].replace('', ''); if (!isNaN(section_id)) { parent.triggerSectionClick(section_id); } } }, function () { parent.checkcodeeditor(feditor); }