"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="https://nice2dev.com/schemas/component-doc-v1.json",t="NiceMarkdownEditor",o="Markdown Editor",n="1.0.0",a="stable",r="editors",i="rich-text",s="Markdown editor with live preview, formatting toolbar, and export capabilities.",d="1.0.0",c=["web","desktop"],l=["markdown","editor","preview","formatting"],p=[{name:"value",type:"string",required:!1,description:"Markdown content."},{name:"preview",type:"'side' | 'tab' | 'none'",required:!1,default:"'side'",description:"Preview layout mode."},{name:"toolbar",type:"boolean",required:!1,default:"true",description:"Show formatting toolbar."},{name:"editorSize",type:"'minimal' | 'compact' | 'standard' | 'fullscreen'",required:!1,default:"'standard'",description:"Editor size preset."},{name:"showWordCount",type:"boolean",required:!1,description:"Show word count."},{name:"showLineNumbers",type:"boolean",required:!1,description:"Show line numbers."},{name:"minHeight",type:"number | string",required:!1,description:"Minimum editor height."}],m=[{name:"onChange",parameters:[{name:"value",type:"string"}],description:"Called on content change."},{name:"onExportHtml",parameters:[{name:"html",type:"string"}],description:"Called when exporting to HTML."},{name:"onImageUpload",parameters:[{name:"file",type:"File"}],description:"Called when image inserted."}],u=[],w=[{title:"Markdown Editor",code:`<NiceMarkdownEditor
  value={markdown}
  onChange={setMarkdown}
  preview="side"
  toolbar
  showWordCount
/>`,language:"tsx"}],g=[{name:"NiceCodeEditor",relationship:"code"},{name:"NiceHtmlEditor",relationship:"wysiwyg"}],h={$schema:e,name:t,displayName:o,version:n,status:a,category:r,subcategory:i,package:"@nicetoDev/ui",description:s,since:d,platforms:c,keywords:l,props:p,events:m,cssVariables:u,examples:w,related:g};exports.$schema=e;exports.category=r;exports.cssVariables=u;exports.default=h;exports.description=s;exports.displayName=o;exports.events=m;exports.examples=w;exports.keywords=l;exports.name=t;exports.platforms=c;exports.props=p;exports.related=g;exports.since=d;exports.status=a;exports.subcategory=i;exports.version=n;
