openscd / open-scd-core

Apache License 2.0
5 stars 8 forks source link

Insert an element in the document #58

Closed ca-d closed 2 years ago

ca-d commented 2 years ago

On incoming EditorActionEvent<Insert> {detail: { parent, node, reference }}, will call parent.insertBefore(node, reference). This can be used to create or move XML elements in the editor.