1import{d as r,g as a,S as d,h as c,i as p}from"./index-BY97ucj0.js";import{a as f}from"./index-4bFmcL6T.js";import{j as m}from"./main-Bo0oayNO.js";import"./index-C-Z7OL8l.js";p();function C(){const{options:s}=r(),l=a(s),{editor:e}=r(),i=f({editor:e,selector:o=>{var t,n;return(t=o.editor)!=null&&t.isActive("bulletList")?"ul":(n=o.editor)!=null&&n.isActive("orderedList")?"ol":"p"}}),u=o=>{const t=e?.chain();o==="p"?t?.focus().setParagraph().run():o==="ol"?t?.focus().toggleOrderedList().run():o==="ul"&&t?.focus().toggleBulletList().run()};return m.jsx(d,{options:l,onChange:u,value:i??"p",defaultValue:"p",renderDefaultIcon:c})}export{C as ListSelectLoaded};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.