@syncfusion/ej2-react-richtexteditor
Version:
Essential JS 2 RichTextEditor component for React
10 lines • 2.72 kB
JavaScript
/*!
* filename: ej2-react-richtexteditor.min.js
* version : 31.1.20
* Copyright Syncfusion Inc. 2001 - 2024. All rights reserved.
* Use of this code is subject to the terms of our license.
* A copy of the current license can be obtained at any time by e-mailing
* licensing@syncfusion.com. Any infringement will be prosecuted under
* applicable laws.
*/
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("React"),require("SyncfusionRichtexteditor"),require("SyncfusionReactBase")):"function"==typeof define&&define.amd?define(["React","SyncfusionRichtexteditor","SyncfusionReactBase"],t):"object"==typeof exports?exports.SyncfusionReactRichtexteditor=t(require("React"),require("SyncfusionRichtexteditor"),require("SyncfusionReactBase")):e.SyncfusionReactRichtexteditor=t(e.React,e.SyncfusionRichtexteditor,e.SyncfusionReactBase)}(self,(e,t,o)=>(()=>{"use strict";var r={618:(e,t,o)=>{o.d(t,{Y:()=>a});var r,n=o(24),i=o(674),c=o(705),s=(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var o in t)t.hasOwnProperty(o)&&(e[o]=t[o])},r(e,t)},function(e,t){function o(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(o.prototype=t.prototype,new o)}),a=function(e){function t(t){var o=e.call(this,t)||this;return o.initRenderCalled=!1,o.checkInjectedModules=!0,o.statelessTemplateProps=["valueTemplate"],o.templateProps=null,o.immediateRender=!1,o.isReactMock=!0,o.portals=[],o}return s(t,e),t.prototype.render=function(){if(this.isReactMock=!1,!(this.element&&!this.initRenderCalled||this.refreshing)||this.isReactForeceUpdate)return n.createElement("div",this.getDefaultAttributes(),[].concat(this.props.children,this.portals));e.prototype.render.call(this),this.initRenderCalled=!0},t}(i.RichTextEditor);(0,c.applyMixins)(a,[c.ComponentBase,n.Component])},24:t=>{t.exports=e},705:e=>{e.exports=o},674:e=>{e.exports=t}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return r[e](o,o.exports,i),o.exports}i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},i.d=(e,t)=>{for(var o in t)i.o(t,o)&&!i.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var c={};return(()=>{i.r(c),i.d(c,{Inject:()=>t.Inject,RichTextEditorComponent:()=>e.Y});var e=i(618),t=i(705),o=i(674),r={};for(const e in o)["default","Inject","RichTextEditorComponent"].indexOf(e)<0&&(r[e]=()=>o[e]);i.d(c,r)})(),c})());