MCPcopy
hub / github.com/udecode/plate / FallbackTabPlugin

Function FallbackTabPlugin

packages/indent/src/lib/withIndent.spec.tsx:16–25  ·  view source on GitHub ↗
(
  fallbackTab: (options: { reverse: boolean }) => boolean | undefined
)

Source from the content-addressed store, hash-verified

14jsxt;
15
16const FallbackTabPlugin = (
17 fallbackTab: (options: { reverse: boolean }) => boolean | undefined
18) =>
19 createSlatePlugin({
20 key: 'fallbackTab',
21 }).overrideEditor(() => ({
22 transforms: {
23 tab: fallbackTab,
24 },
25 }));
26
27describe('withIndent', () => {
28 it('caps indent during normalization when it exceeds indentMax', () => {

Callers 1

Calls 1

createSlatePluginFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…