forked from froala/react-froala-wysiwyg
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFroalaEditorView.js
More file actions
1 lines (1 loc) · 891 Bytes
/
FroalaEditorView.js
File metadata and controls
1 lines (1 loc) · 891 Bytes
1
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react")):"function"==typeof define&&define.amd?define(["react"],t):"object"==typeof exports?exports.FroalaEditorView=t(require("react")):e.FroalaEditorView=t(e.React)}(this,function(e){return function(e){function t(o){if(r[o])return r[o].exports;var i=r[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var r={};return t.m=e,t.c=r,t.p="",t(0)}({0:function(e,t,r){e.exports=r(8)},1:function(t,r){t.exports=e},8:function(e,t,r){"use strict";var o=r(1),i=o.createClass({displayName:"FroalaEditorView",defaultTag:"div",getTrustedHtml:function(){return{__html:this.props.model}},render:function(){return this.tag=this.props.tag||this.defaultTag,o.createElement(this.tag,{className:"fr-view",dangerouslySetInnerHTML:this.getTrustedHtml()})}});e.exports=i}})});