fn
marksAllowed
Whether a mark of `markType` is allowed inside a block with this spec.
Signature
ts
export function marksAllowed(spec: NodeSpec, markType: string): boolean{ ... }Parameters
| Parameter | Type | Description |
|---|---|---|
spec | NodeSpec | — |
markType | string | — |
Returns
boolean