21 lines
719 B
Svelte
21 lines
719 B
Svelte
|
<!--
|
||
|
Copyright: Ankitects Pty Ltd and contributors
|
||
|
License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html
|
||
|
-->
|
||
|
<script lang="ts">
|
||
|
import { FrameElement } from "../editable/frame-element";
|
||
|
|
||
|
customElements.define(FrameElement.tagName, FrameElement);
|
||
|
|
||
|
import { FrameStart, FrameEnd } from "../editable/frame-handle";
|
||
|
|
||
|
customElements.define(FrameStart.tagName, FrameStart);
|
||
|
customElements.define(FrameEnd.tagName, FrameEnd);
|
||
|
|
||
|
import { BLOCK_ELEMENTS } from "../lib/dom";
|
||
|
|
||
|
/* This will ensure that they are not targeted by surrounding algorithms */
|
||
|
BLOCK_ELEMENTS.push(FrameStart.tagName.toUpperCase());
|
||
|
BLOCK_ELEMENTS.push(FrameEnd.tagName.toUpperCase());
|
||
|
</script>
|