@mjml-forge/core
v0.0.0
Published
MJML editor Web Component — internal Preact + custom element bridge.
Downloads
17
Readme
@mjml-forge/core
Internal Preact + custom-element-bridge runtime for the <mjml-forge-editor> Web Component. This is the public API package — consumers install @mjml-forge/core, import the side-effecting module, and use the native <mjml-forge-editor> tag.
Status: Phase 0 stub. Editor lands in Phase 3.
Install (post-v1.0)
pnpm add @mjml-forge/coreUsage
<script type="module">
import '@mjml-forge/core';
</script>
<mjml-forge-editor></mjml-forge-editor>Runtime dependencies
preact— internal UI framework (~3KB runtime)preact-custom-element— Web Component bridge
Per the minimal-dep philosophy (FND-09), these are the only runtime dependencies permitted in this package. Workspace deps (@mjml-forge/codec, @mjml-forge/theme, @mjml-forge/rte) are permitted under FND-10.
License
Apache 2.0. See LICENSE.
