Provides methods to access the Assets schema
The schema API
Gets default data for asset type
The asset type
The default data
Gets a list of fields of a particular type for an asset type
The type of the asset.
The desired type
A list of fields
const materialAssetPaths = editor.schema.assets.getFieldsOfType('material', 'asset'); Copy
const materialAssetPaths = editor.schema.assets.getFieldsOfType('material', 'asset');
Provides methods to access the Assets schema