UNPKG

jodit-pro

Version:

PRO Version of Jodit Editor

2 lines (1 loc) 954 B
var d=Object.defineProperty;var f=(i,e)=>d(i,"name",{value:e,configurable:!0});var n,c=function(i,e,o,r){var s=arguments.length,t=s<3?e:r===null?r=Object.getOwnPropertyDescriptor(e,o):r,p;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")t=Reflect.decorate(i,e,o,r);else for(var l=i.length-1;l>=0;l--)(p=i[l])&&(t=(s<3?p(t):s>3?p(e,o,t):p(e,o))||t);return s>3&&t&&Object.defineProperty(e,o,t),t};import{component as h,hook as m}from"jodit/esm/core/decorators/index.js";import{UIBaseEditor as u}from"../base.js";import{UIWysiwyg as y}from"../../wysiwyg/wysiwyg.js";let a=(n=class extends u{className(){return"UIMarkerEditor"}onReady(){var e;super.onReady();const o=new y(this.j,this.options.googleMaps.inlineEditorOptions,(e=this.state.text)!==null&&e!==void 0?e:"",r=>this.j.e.fire(this,"change","text",r));this.append(o,"form")}},f(n,"UIMarkerEditor"),n);c([m("ready")],a.prototype,"onReady",null),a=c([h],a);export{a as UIMarkerEditor};