@witchcraft/editor
Github
Issues
npm
Preparing search index...
pm/utils/generator/createGeneratorConfig
createGeneratorConfig
Function createGeneratorConfig
createGeneratorConfig
<
TBuilder
extends
Builders
<
Schema
<
string
,
string
>
>
,
TChildType
extends
"text"
|
"node"
,
TParentType
extends
"text"
|
"node"
,
TChildNodeType
extends
string
|
Node
|
Mark
,
TParentNodeType
extends
string
|
Node
|
Mark
,
>
(
config
:
GeneratorConfigEntry
<
TBuilder
,
TChildType
,
TParentType
,
TChildNodeType
,
TParentNodeType
,
>
,
)
:
GeneratorConfigEntry
<
TBuilder
,
TChildType
,
TParentType
,
TChildNodeType
,
TParentNodeType
,
>
Type Parameters
TBuilder
extends
Builders
<
Schema
<
string
,
string
>
>
TChildType
extends
"text"
|
"node"
TParentType
extends
"text"
|
"node"
TChildNodeType
extends
string
|
Node
|
Mark
TParentNodeType
extends
string
|
Node
|
Mark
Parameters
config
:
GeneratorConfigEntry
<
TBuilder
,
TChildType
,
TParentType
,
TChildNodeType
,
TParentNodeType
,
>
Returns
GeneratorConfigEntry
<
TBuilder
,
TChildType
,
TParentType
,
TChildNodeType
,
TParentNodeType
,
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Github
Issues
npm
@witchcraft/editor
Loading...