1import{e as n,k as p,S as a,l as c,i as d}from"./royalPageBlocks-Dq2D_Txw.js";import{a as m}from"./index-j5LXzc_P.js";import{j as f}from"./ui-vendor-DuqeynD1.js";import"./index-D6hryE5F.js";import"./react-vendor-Bzgz95E1.js";import"./query-vendor-DND6ZGMt.js";import"./icons-DC9PkIwp.js";import"./IsolatedHtmlBlock-Kr8AIkTQ.js";import"./ProductsGalleryPickerField-D1monc2O.js";import"./dialog-s5DUCBcr.js";import"./input-CnAoxUlZ.js";import"./TurnstileWidget-D9m61cVK.js";import"./index-B6-4AWEB.js";d();function V(){const{options:s}=n(),l=p(s),{editor:i}=n(),e=m({editor:i,selector:o=>{var t,r;return(t=o.editor)!=null&&t.isActive("bulletList")?"ul":(r=o.editor)!=null&&r.isActive("orderedList")?"ol":"p"}}),u=o=>{const t=i?.chain();o==="p"?t?.focus().setParagraph().run():o==="ol"?t?.focus().toggleOrderedList().run():o==="ul"&&t?.focus().toggleBulletList().run()};return f.jsx(a,{options:l,onChange:u,value:e??"p",defaultValue:"p",renderDefaultIcon:c})}export{V 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.