Classes
Members
-
static, constant defaultFilter
-
Default filter method (does nothing).
-
static, constant domToType
-
Creates a Yjs type (YXml) based on the contents of a DOM Element.
-
static, constant filterDomAttributes
-
Type Definitions
-
DomFilter(nodeName, attrs) → {Map|null}
-
Parameters:
Name Type Description nodeNamestring attrsMap.<string, string> Returns:
Map | null -
DomFilter(nodeName, attrs) → {Map|null}
-
Parameters:
Name Type Description nodeNamestring attrsMap.<string, string> Returns:
Map | null -
FilterFunction(nodeName, attrs) → {Map|null}
-
A filter defines which elements and attributes to share. Return null if the node should be filtered. Otherwise return the Map of accepted attributes.
Parameters:
Name Type Description nodeNamestring attrsMap Returns:
Map | null