email-builder-online 2.2.2 → 2.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -21
- package/README.md +206 -206
- package/dist/editor-sample/src/documents/editor/EditorContext.d.ts.map +1 -1
- package/dist/editor-sample/src/documents/editor/core.d.ts.map +1 -1
- package/dist/editor-sample/src/index.d.ts.map +1 -1
- package/dist/editor-sample/src/locales/en-US/common.json.d.ts +7 -7
- package/dist/editor-sample/src/locales/en-US/inspector.json.d.ts +206 -206
- package/dist/editor-sample/src/locales/es-419/common.json.d.ts +7 -7
- package/dist/editor-sample/src/locales/es-419/inspector.json.d.ts +211 -211
- package/dist/editor-sample/src/locales/it-IT/common.json.d.ts +7 -7
- package/dist/editor-sample/src/locales/it-IT/inspector.json.d.ts +211 -211
- package/dist/email-builder.cjs.js +1 -1
- package/dist/email-builder.cjs.js.map +1 -1
- package/dist/email-builder.es.js +2 -0
- package/dist/email-builder.es.js.map +1 -1
- package/package.json +115 -115
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2024 Waypoint (Metaccountant, Inc.)
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024 Waypoint (Metaccountant, Inc.)
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,206 +1,206 @@
|
|
|
1
|
-
# email-builder-online
|
|
2
|
-
|
|
3
|
-
Powerful, modern email builder with drag-and-drop blocks, live preview, and HTML export. Built with React and Material UI, distributed as a React component and as a Web Component so it can be embedded in other frameworks (Nuxt 3, Next.js, SvelteKit, etc.). Compatible with React 18 and 19.
|
|
4
|
-
|
|
5
|
-
- Drag-and-drop blocks (Text, Image, Button, Columns, etc.)
|
|
6
|
-
- Editor and Preview tabs with responsive screen sizes
|
|
7
|
-
- Undo/Redo and keyboard shortcuts
|
|
8
|
-
- HTML outputs and copy-to-clipboard helpers
|
|
9
|
-
- CSS size guard for email client compatibility
|
|
10
|
-
|
|
11
|
-
## Installation
|
|
12
|
-
|
|
13
|
-
Install the package and peer dependencies:
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
npm i email-builder-online @mui/material react react-dom react-dnd react-dnd-html5-backend
|
|
17
|
-
# or
|
|
18
|
-
yarn add email-builder-online @mui/material react react-dom react-dnd react-dnd-html5-backend
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
Add the stylesheet (required):
|
|
22
|
-
|
|
23
|
-
```ts
|
|
24
|
-
// React / Vite / Nuxt / Next
|
|
25
|
-
import 'email-builder-online/style.css';
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
## Usage
|
|
29
|
-
|
|
30
|
-
There are two ways to use the builder:
|
|
31
|
-
|
|
32
|
-
1) As a React component (recommended in React apps)
|
|
33
|
-
|
|
34
|
-
```tsx
|
|
35
|
-
import React from 'react';
|
|
36
|
-
import { EmailBuilder } from 'email-builder-online';
|
|
37
|
-
import 'email-builder-online/style.css';
|
|
38
|
-
|
|
39
|
-
export default function Page() {
|
|
40
|
-
return (
|
|
41
|
-
<div style={{ height: '100vh' }}>
|
|
42
|
-
<EmailBuilder
|
|
43
|
-
primaryColor="#0d9488"
|
|
44
|
-
secondaryColor="#0ea5a6"
|
|
45
|
-
darkMode={false}
|
|
46
|
-
stickyHeader
|
|
47
|
-
height="calc(100vh - 80px)"
|
|
48
|
-
/>
|
|
49
|
-
</div>
|
|
50
|
-
);
|
|
51
|
-
}
|
|
52
|
-
```
|
|
53
|
-
|
|
54
|
-
2) As a Web Component (works in Nuxt 3, Vue, Svelte, plain HTML)
|
|
55
|
-
|
|
56
|
-
The package exports a helper to register the custom element on the client. This avoids SSR issues and lets you choose the tag name. Make sure your Nuxt plugin filename ends with `.client.ts` so it runs only on the client.
|
|
57
|
-
|
|
58
|
-
```ts
|
|
59
|
-
// Example: Nuxt 3 (plugins/email-builder.client.ts)
|
|
60
|
-
import { registerEmailBuilder } from 'email-builder-online';
|
|
61
|
-
import 'email-builder-online/style.css';
|
|
62
|
-
|
|
63
|
-
export default defineNuxtPlugin(() => {
|
|
64
|
-
registerEmailBuilder('email-builder'); // optional tag name (default: 'email-builder')
|
|
65
|
-
});
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
Then use it anywhere in your templates (wrap in <ClientOnly> for Nuxt):
|
|
69
|
-
|
|
70
|
-
```vue
|
|
71
|
-
<template>
|
|
72
|
-
<ClientOnly>
|
|
73
|
-
<email-builder
|
|
74
|
-
primary-color="#0d9488"
|
|
75
|
-
secondary-color="#0ea5a6"
|
|
76
|
-
dark-mode="false"
|
|
77
|
-
sticky-header="true"
|
|
78
|
-
height="calc(100vh - 80px)"
|
|
79
|
-
/>
|
|
80
|
-
</ClientOnly>
|
|
81
|
-
<!-- Optional: Vue will warn about unknown elements unless declared -->
|
|
82
|
-
<!-- For programmatic props, bind a ref and assign in onMounted -->
|
|
83
|
-
</template>
|
|
84
|
-
|
|
85
|
-
<script setup lang="ts">
|
|
86
|
-
// Example of programmatic props assignment for correct types:
|
|
87
|
-
// const el = ref<HTMLElement | null>(null);
|
|
88
|
-
// onMounted(() => Object.assign(el.value!, { darkMode: false }));
|
|
89
|
-
</script>
|
|
90
|
-
```
|
|
91
|
-
|
|
92
|
-
For Vue/Nuxt, you can silence unknown element warnings by marking the tag as a custom element and include CSS globally:
|
|
93
|
-
|
|
94
|
-
```ts
|
|
95
|
-
// nuxt.config.ts
|
|
96
|
-
export default defineNuxtConfig({
|
|
97
|
-
vue: {
|
|
98
|
-
compilerOptions: {
|
|
99
|
-
isCustomElement: (tag) => tag === 'email-builder',
|
|
100
|
-
},
|
|
101
|
-
},
|
|
102
|
-
css: ['email-builder-online/style.css'],
|
|
103
|
-
});
|
|
104
|
-
```
|
|
105
|
-
|
|
106
|
-
Notes on SSR and dependencies
|
|
107
|
-
- The Web Component wrapper is registered only on the client. Use a client-only plugin in SSR frameworks.
|
|
108
|
-
- React and ReactDOM are peer dependencies even for the Web Component. Install them in your app or use a bundler that provides them. React 18 and 19 are supported.
|
|
109
|
-
|
|
110
|
-
## Custom Editor Standalone
|
|
111
|
-
|
|
112
|
-
The package also ships the `CustomEditorInputStandalone` component (referred to in the UI as **CustomEditorStandalone**) so the rich text block can be embedded outside of the full builder experience.
|
|
113
|
-
|
|
114
|
-
### React
|
|
115
|
-
|
|
116
|
-
```tsx
|
|
117
|
-
import { useState } from 'react';
|
|
118
|
-
import { CustomEditorInputStandalone } from 'email-builder-online';
|
|
119
|
-
import 'email-builder-online/style.css';
|
|
120
|
-
|
|
121
|
-
export default function CustomEditorExample() {
|
|
122
|
-
const [value, setValue] = useState('<p>Write your custom content here…</p>');
|
|
123
|
-
|
|
124
|
-
return (
|
|
125
|
-
<CustomEditorInputStandalone
|
|
126
|
-
initialData={value}
|
|
127
|
-
onChange={setValue}
|
|
128
|
-
editorBackgroundColor="#ffffff"
|
|
129
|
-
editorColorDefault="#1f2937"
|
|
130
|
-
fontFamily="MODERN_SANS"
|
|
131
|
-
lineHeight={1.6}
|
|
132
|
-
/>
|
|
133
|
-
);
|
|
134
|
-
}
|
|
135
|
-
```
|
|
136
|
-
|
|
137
|
-
Key props you may want to control:
|
|
138
|
-
- `initialData`: starting HTML value of the editor.
|
|
139
|
-
- `onChange`: receives the latest HTML string every time the content changes.
|
|
140
|
-
- `editorBackgroundColor`, `editorColorDefault`, `fontFamily`, `fontSize`, `lineHeight`: styling helpers for the standalone instance.
|
|
141
|
-
- `linkColor`, `underlineLinks`, `rootFontFamily`, `rootTextColor`, `rootCanvasColor`: override the root node defaults when you need consistent rendering outside the builder.
|
|
142
|
-
|
|
143
|
-
### Web Component
|
|
144
|
-
|
|
145
|
-
Register the element on the client and optionally pick a custom tag name:
|
|
146
|
-
|
|
147
|
-
```ts
|
|
148
|
-
import { registerCustomEditorInput } from 'email-builder-online';
|
|
149
|
-
import 'email-builder-online/style.css';
|
|
150
|
-
|
|
151
|
-
if (typeof window !== 'undefined') {
|
|
152
|
-
registerCustomEditorInput('custom-editor'); // default is "custom-editor-input"
|
|
153
|
-
}
|
|
154
|
-
```
|
|
155
|
-
|
|
156
|
-
Usage example in plain HTML (Nuxt/Vue/Svelte users should wrap with their client-only utilities):
|
|
157
|
-
|
|
158
|
-
```html
|
|
159
|
-
<custom-editor
|
|
160
|
-
editor-background-color="#ffffff"
|
|
161
|
-
editor-color-default="#1f2937"
|
|
162
|
-
font-family="MODERN_SANS"
|
|
163
|
-
initial-data="<p>Write your custom content here…</p>"
|
|
164
|
-
></custom-editor>
|
|
165
|
-
|
|
166
|
-
<script type="module">
|
|
167
|
-
const editor = document.querySelector('custom-editor');
|
|
168
|
-
editor?.addEventListener('onChange', (event) => {
|
|
169
|
-
const value = event.detail; // latest HTML string
|
|
170
|
-
console.log('Editor value:', value);
|
|
171
|
-
});
|
|
172
|
-
editor.initialData = '<p>Programmatically update the content.</p>';
|
|
173
|
-
</script>
|
|
174
|
-
```
|
|
175
|
-
|
|
176
|
-
Boolean and numeric attributes on the custom element map to their camelCase React counterparts (`font-size` → `fontSize`, etc.). When working in frameworks, prefer binding them as element properties to avoid string coercion.
|
|
177
|
-
|
|
178
|
-
## Props / Attributes
|
|
179
|
-
|
|
180
|
-
React Props (camelCase) and Web Component attributes (dash-case) map 1:1:
|
|
181
|
-
|
|
182
|
-
- primaryColor / primary-color: string (default: #058705)
|
|
183
|
-
- secondaryColor / secondary-color: string (default: #079707)
|
|
184
|
-
- darkMode / dark-mode: boolean (default: false)
|
|
185
|
-
- height / height: string (e.g. "calc(100vh - 80px)")
|
|
186
|
-
- stickyHeader / sticky-header: boolean (default: true)
|
|
187
|
-
- sticky / sticky: boolean (default: false)
|
|
188
|
-
- galleryImages / gallery-images: boolean (default: false)
|
|
189
|
-
|
|
190
|
-
In templates, set boolean attributes to "true"/"false" (strings) or bind them as element properties.
|
|
191
|
-
|
|
192
|
-
## TypeScript
|
|
193
|
-
|
|
194
|
-
Types are shipped. You can import them as:
|
|
195
|
-
|
|
196
|
-
```ts
|
|
197
|
-
import type { EmailBuilderProps } from 'email-builder-online';
|
|
198
|
-
```
|
|
199
|
-
|
|
200
|
-
## Licensing
|
|
201
|
-
|
|
202
|
-
MIT Ac Laravel42
|
|
203
|
-
|
|
204
|
-
## Changelog
|
|
205
|
-
|
|
206
|
-
See Git history for details. Please open issues or PRs for bugs and improvements.
|
|
1
|
+
# email-builder-online
|
|
2
|
+
|
|
3
|
+
Powerful, modern email builder with drag-and-drop blocks, live preview, and HTML export. Built with React and Material UI, distributed as a React component and as a Web Component so it can be embedded in other frameworks (Nuxt 3, Next.js, SvelteKit, etc.). Compatible with React 18 and 19.
|
|
4
|
+
|
|
5
|
+
- Drag-and-drop blocks (Text, Image, Button, Columns, etc.)
|
|
6
|
+
- Editor and Preview tabs with responsive screen sizes
|
|
7
|
+
- Undo/Redo and keyboard shortcuts
|
|
8
|
+
- HTML outputs and copy-to-clipboard helpers
|
|
9
|
+
- CSS size guard for email client compatibility
|
|
10
|
+
|
|
11
|
+
## Installation
|
|
12
|
+
|
|
13
|
+
Install the package and peer dependencies:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
npm i email-builder-online @mui/material react react-dom react-dnd react-dnd-html5-backend
|
|
17
|
+
# or
|
|
18
|
+
yarn add email-builder-online @mui/material react react-dom react-dnd react-dnd-html5-backend
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Add the stylesheet (required):
|
|
22
|
+
|
|
23
|
+
```ts
|
|
24
|
+
// React / Vite / Nuxt / Next
|
|
25
|
+
import 'email-builder-online/style.css';
|
|
26
|
+
```
|
|
27
|
+
|
|
28
|
+
## Usage
|
|
29
|
+
|
|
30
|
+
There are two ways to use the builder:
|
|
31
|
+
|
|
32
|
+
1) As a React component (recommended in React apps)
|
|
33
|
+
|
|
34
|
+
```tsx
|
|
35
|
+
import React from 'react';
|
|
36
|
+
import { EmailBuilder } from 'email-builder-online';
|
|
37
|
+
import 'email-builder-online/style.css';
|
|
38
|
+
|
|
39
|
+
export default function Page() {
|
|
40
|
+
return (
|
|
41
|
+
<div style={{ height: '100vh' }}>
|
|
42
|
+
<EmailBuilder
|
|
43
|
+
primaryColor="#0d9488"
|
|
44
|
+
secondaryColor="#0ea5a6"
|
|
45
|
+
darkMode={false}
|
|
46
|
+
stickyHeader
|
|
47
|
+
height="calc(100vh - 80px)"
|
|
48
|
+
/>
|
|
49
|
+
</div>
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
2) As a Web Component (works in Nuxt 3, Vue, Svelte, plain HTML)
|
|
55
|
+
|
|
56
|
+
The package exports a helper to register the custom element on the client. This avoids SSR issues and lets you choose the tag name. Make sure your Nuxt plugin filename ends with `.client.ts` so it runs only on the client.
|
|
57
|
+
|
|
58
|
+
```ts
|
|
59
|
+
// Example: Nuxt 3 (plugins/email-builder.client.ts)
|
|
60
|
+
import { registerEmailBuilder } from 'email-builder-online';
|
|
61
|
+
import 'email-builder-online/style.css';
|
|
62
|
+
|
|
63
|
+
export default defineNuxtPlugin(() => {
|
|
64
|
+
registerEmailBuilder('email-builder'); // optional tag name (default: 'email-builder')
|
|
65
|
+
});
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Then use it anywhere in your templates (wrap in <ClientOnly> for Nuxt):
|
|
69
|
+
|
|
70
|
+
```vue
|
|
71
|
+
<template>
|
|
72
|
+
<ClientOnly>
|
|
73
|
+
<email-builder
|
|
74
|
+
primary-color="#0d9488"
|
|
75
|
+
secondary-color="#0ea5a6"
|
|
76
|
+
dark-mode="false"
|
|
77
|
+
sticky-header="true"
|
|
78
|
+
height="calc(100vh - 80px)"
|
|
79
|
+
/>
|
|
80
|
+
</ClientOnly>
|
|
81
|
+
<!-- Optional: Vue will warn about unknown elements unless declared -->
|
|
82
|
+
<!-- For programmatic props, bind a ref and assign in onMounted -->
|
|
83
|
+
</template>
|
|
84
|
+
|
|
85
|
+
<script setup lang="ts">
|
|
86
|
+
// Example of programmatic props assignment for correct types:
|
|
87
|
+
// const el = ref<HTMLElement | null>(null);
|
|
88
|
+
// onMounted(() => Object.assign(el.value!, { darkMode: false }));
|
|
89
|
+
</script>
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
For Vue/Nuxt, you can silence unknown element warnings by marking the tag as a custom element and include CSS globally:
|
|
93
|
+
|
|
94
|
+
```ts
|
|
95
|
+
// nuxt.config.ts
|
|
96
|
+
export default defineNuxtConfig({
|
|
97
|
+
vue: {
|
|
98
|
+
compilerOptions: {
|
|
99
|
+
isCustomElement: (tag) => tag === 'email-builder',
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
css: ['email-builder-online/style.css'],
|
|
103
|
+
});
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
Notes on SSR and dependencies
|
|
107
|
+
- The Web Component wrapper is registered only on the client. Use a client-only plugin in SSR frameworks.
|
|
108
|
+
- React and ReactDOM are peer dependencies even for the Web Component. Install them in your app or use a bundler that provides them. React 18 and 19 are supported.
|
|
109
|
+
|
|
110
|
+
## Custom Editor Standalone
|
|
111
|
+
|
|
112
|
+
The package also ships the `CustomEditorInputStandalone` component (referred to in the UI as **CustomEditorStandalone**) so the rich text block can be embedded outside of the full builder experience.
|
|
113
|
+
|
|
114
|
+
### React
|
|
115
|
+
|
|
116
|
+
```tsx
|
|
117
|
+
import { useState } from 'react';
|
|
118
|
+
import { CustomEditorInputStandalone } from 'email-builder-online';
|
|
119
|
+
import 'email-builder-online/style.css';
|
|
120
|
+
|
|
121
|
+
export default function CustomEditorExample() {
|
|
122
|
+
const [value, setValue] = useState('<p>Write your custom content here…</p>');
|
|
123
|
+
|
|
124
|
+
return (
|
|
125
|
+
<CustomEditorInputStandalone
|
|
126
|
+
initialData={value}
|
|
127
|
+
onChange={setValue}
|
|
128
|
+
editorBackgroundColor="#ffffff"
|
|
129
|
+
editorColorDefault="#1f2937"
|
|
130
|
+
fontFamily="MODERN_SANS"
|
|
131
|
+
lineHeight={1.6}
|
|
132
|
+
/>
|
|
133
|
+
);
|
|
134
|
+
}
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
Key props you may want to control:
|
|
138
|
+
- `initialData`: starting HTML value of the editor.
|
|
139
|
+
- `onChange`: receives the latest HTML string every time the content changes.
|
|
140
|
+
- `editorBackgroundColor`, `editorColorDefault`, `fontFamily`, `fontSize`, `lineHeight`: styling helpers for the standalone instance.
|
|
141
|
+
- `linkColor`, `underlineLinks`, `rootFontFamily`, `rootTextColor`, `rootCanvasColor`: override the root node defaults when you need consistent rendering outside the builder.
|
|
142
|
+
|
|
143
|
+
### Web Component
|
|
144
|
+
|
|
145
|
+
Register the element on the client and optionally pick a custom tag name:
|
|
146
|
+
|
|
147
|
+
```ts
|
|
148
|
+
import { registerCustomEditorInput } from 'email-builder-online';
|
|
149
|
+
import 'email-builder-online/style.css';
|
|
150
|
+
|
|
151
|
+
if (typeof window !== 'undefined') {
|
|
152
|
+
registerCustomEditorInput('custom-editor'); // default is "custom-editor-input"
|
|
153
|
+
}
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
Usage example in plain HTML (Nuxt/Vue/Svelte users should wrap with their client-only utilities):
|
|
157
|
+
|
|
158
|
+
```html
|
|
159
|
+
<custom-editor
|
|
160
|
+
editor-background-color="#ffffff"
|
|
161
|
+
editor-color-default="#1f2937"
|
|
162
|
+
font-family="MODERN_SANS"
|
|
163
|
+
initial-data="<p>Write your custom content here…</p>"
|
|
164
|
+
></custom-editor>
|
|
165
|
+
|
|
166
|
+
<script type="module">
|
|
167
|
+
const editor = document.querySelector('custom-editor');
|
|
168
|
+
editor?.addEventListener('onChange', (event) => {
|
|
169
|
+
const value = event.detail; // latest HTML string
|
|
170
|
+
console.log('Editor value:', value);
|
|
171
|
+
});
|
|
172
|
+
editor.initialData = '<p>Programmatically update the content.</p>';
|
|
173
|
+
</script>
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
Boolean and numeric attributes on the custom element map to their camelCase React counterparts (`font-size` → `fontSize`, etc.). When working in frameworks, prefer binding them as element properties to avoid string coercion.
|
|
177
|
+
|
|
178
|
+
## Props / Attributes
|
|
179
|
+
|
|
180
|
+
React Props (camelCase) and Web Component attributes (dash-case) map 1:1:
|
|
181
|
+
|
|
182
|
+
- primaryColor / primary-color: string (default: #058705)
|
|
183
|
+
- secondaryColor / secondary-color: string (default: #079707)
|
|
184
|
+
- darkMode / dark-mode: boolean (default: false)
|
|
185
|
+
- height / height: string (e.g. "calc(100vh - 80px)")
|
|
186
|
+
- stickyHeader / sticky-header: boolean (default: true)
|
|
187
|
+
- sticky / sticky: boolean (default: false)
|
|
188
|
+
- galleryImages / gallery-images: boolean (default: false)
|
|
189
|
+
|
|
190
|
+
In templates, set boolean attributes to "true"/"false" (strings) or bind them as element properties.
|
|
191
|
+
|
|
192
|
+
## TypeScript
|
|
193
|
+
|
|
194
|
+
Types are shipped. You can import them as:
|
|
195
|
+
|
|
196
|
+
```ts
|
|
197
|
+
import type { EmailBuilderProps } from 'email-builder-online';
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
## Licensing
|
|
201
|
+
|
|
202
|
+
MIT Ac Laravel42
|
|
203
|
+
|
|
204
|
+
## Changelog
|
|
205
|
+
|
|
206
|
+
See Git history for details. Please open issues or PRs for bugs and improvements.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EditorContext.d.ts","sourceRoot":"","sources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AAE,MAAwB,QAKrE;AASD,eAAe,YAAY,CAAC;AAC5B,OAAO,EAAE,YAAY,EAAE,CAAC;AACxB,YAAY,EAAE,iBAAiB,EAAE,CAAC;AAClC,OAAO,EAAE,2BAA2B,EAAE,yBAAyB,EAAE,MAAM,2BAA2B,CAAC;AACnG,YAAY,EAAE,gCAAgC,EAAE,MAAM,2BAA2B,CAAC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
"language": "English (US)",
|
|
3
|
-
"generic": {
|
|
4
|
-
"confirm": "Confirm",
|
|
5
|
-
"cancel": "Cancel"
|
|
6
|
-
}
|
|
7
|
-
}
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"language": "English (US)",
|
|
3
|
+
"generic": {
|
|
4
|
+
"confirm": "Confirm",
|
|
5
|
+
"cancel": "Cancel"
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
8
|
;
|
|
9
9
|
|
|
10
10
|
export default _default;
|