Skip to content
QuireKit
Plugin docs
Alpha · evolving API
View adaptersView Markdown ↗

svgViewExtension

Registers the svg runtime, sharing document and layout contracts with Canvas. Change modes through the editor rather than recreating content.

Registers the svg runtime, sharing document and layout contracts with Canvas. Change modes through the editor rather than recreating content.

@quirekit/view · AGPL-3.0-only

Editor compatibility

Layer:View integration

EditorStatusAssembly and boundaries
ClassicSupportedclassicEditorPreset — Classic presets already register Canvas and SVG. Select view.backend instead of registering a duplicate View in extensions.
BlockUnsupportedThis View is outside the product's current mounting contract. Independent Core hosts can select it through the View guide; adding the extension does not switch product form.

“Supported” means the product assembly above exists; interaction, host services and file formats retain their own conditions. See status and integration rules. Licensing is shown separately.

Installation

sh

Install in Editor extensions. The host supplies a view, container and persistence; see Quick start.

ts

Use compatible versions available from your distribution source. This site uses the Alpha workspace. License labels come from package metadata; see support and licensing.

Integration by editor

These snippets use an existing host element named element. The host owns container sizing and persistence; call instance.destroy() on teardown. Avoid duplicating preset capabilities and supply required host ports before installation.

Classic · Supported

Classic presets already register Canvas and SVG. Select view.backend instead of registering a duplicate View in extensions.

classicEditorPreset
ts

Configuration

These are extension-level defaults. Presets can override them; they are distinct from current document attributes. See configuration.

runtime

Runtime options applied when the editor mounts SVG mode.

Type:SvgMountedViewRuntimeOptions | undefined

Default:undefined

Commands and runtime

This entry declares no directly enumerable commands. Children supply bundle commands; product plugins use contributions or document services.

Next steps

Return to all plugins, or read configuration to distinguish options, attributes and commands.

See extension development for custom capabilities and Build a product for complete hosting.

QuireKitQuireKit · Core, plugins and Classic docs