MCPcopy Create free account
hub / github.com/editablejs/editable / getOptions

Function getOptions

packages/plugins/list/src/ordered/options.ts:12–14  ·  view source on GitHub ↗
(editor: Editor)

Source from the content-addressed store, hash-verified

10const ORDERED_LIST_OPTIONS = new WeakMap<Editor, OrderedListOptions>()
11
12export const getOptions = (editor: Editor): OrderedListOptions => {
13 return ORDERED_LIST_OPTIONS.get(editor) ?? {}
14}
15
16export const setOptions = (editor: Editor, options: OrderedListOptions) => {
17 ORDERED_LIST_OPTIONS.set(editor, options)

Callers

nothing calls this directly

Calls 1

getMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…