# बुलेट वाली सूची {#unordered-list}

Source: [React एडिटर में बुलेट सूची जोड़ें · Yurich](https://leeyujoo.com/yurich/hi/features/unordered-list/)

Package: [`yurich`](https://www.npmjs.com/package/yurich)

Package version: `0.1.2`

आइटम को बुलेट वाली सूची में रखें।

## आज़माएँ {#try-it}

“एक बोल्ड बटन” और “कोड रिव्यू के लिए नाश्ता” चुनकर **बुलेट सूची** दबाएँ। दो `<li>` वाला `<ul>` बनता है।

## एडिटर में जोड़ें {#setup}

`UnorderedList` चालू करें और बटन से `toggleUnorderedList` चलाएँ।

```tsx
import { EditorContent, EditorProvider, UnorderedList, useEditor, useIsActive } from 'yurich';

export function UnorderedListEditor() {
  const editor = useEditor({
    extensions: [UnorderedList],
    initialValue: "<p>एक बोल्ड बटन</p><p>कोड रिव्यू के लिए नाश्ता</p>",
  });
  const active = useIsActive(editor, 'toggleUnorderedList');

  return (
    <EditorProvider editor={editor}>
      <button
        type="button"
        aria-pressed={active}
        onMouseDown={event => event.preventDefault()}
        onClick={() => editor.execute('toggleUnorderedList')}
      >
        बुलेट सूची
      </button>
      <EditorContent ariaLabel="एडिटर" />
    </EditorProvider>
  );
}
```

## ध्यान देने योग्य व्यवहार {#behavior}

`OrderedList` साथ में चालू करें तो चुने हुए आइटम का प्रकार बदला जा सकता है।

[सुविधाएँ](https://leeyujoo.com/yurich/hi/features/)
