@maily-to/core 0.0.24 → 0.0.26
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/dist/blocks/index.d.mts +2 -2
- package/dist/blocks/index.d.ts +2 -2
- package/dist/blocks/index.js +7 -7
- package/dist/blocks/index.js.map +1 -1
- package/dist/blocks/index.mjs +6 -6
- package/dist/blocks/index.mjs.map +1 -1
- package/dist/extensions/index.d.mts +8 -8
- package/dist/extensions/index.d.ts +8 -8
- package/dist/extensions/index.js +493 -443
- package/dist/extensions/index.js.map +1 -1
- package/dist/extensions/index.mjs +414 -364
- package/dist/extensions/index.mjs.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +170 -79
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +168 -77
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/readme.md +3 -3
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -94,10 +94,10 @@ You can pass variables to the editor in two ways:
|
|
|
94
94
|
variables={({ query, from, editor }) => {
|
|
95
95
|
// magic goes here
|
|
96
96
|
// query: the text after the trigger character
|
|
97
|
-
// from: the context from where the variables are requested (
|
|
97
|
+
// from: the context from where the variables are requested (repeat, variable)
|
|
98
98
|
// editor: the editor instance
|
|
99
|
-
if (from === '
|
|
100
|
-
// return variables for the
|
|
99
|
+
if (from === 'repeat-variable') {
|
|
100
|
+
// return variables for the Repeat block `each` key
|
|
101
101
|
return [
|
|
102
102
|
{ name: 'notifications' },
|
|
103
103
|
{ name: 'comments' },
|